aboutsummaryrefslogtreecommitdiff
path: root/spss
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-09-23 12:16:02 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-09-23 12:16:02 +0200
commit08f30a3dad9cef45d6fea0ce7a6dcb90b6b6ccde (patch)
tree21833cb383d9a0d34ca0af04fb356a6c8cde8059 /spss
parentbad8d3cc1051aa22c679801310f94c852821dc4d (diff)
downloadmoa-id-spss-08f30a3dad9cef45d6fea0ce7a6dcb90b6b6ccde.tar.gz
moa-id-spss-08f30a3dad9cef45d6fea0ce7a6dcb90b6b6ccde.tar.bz2
moa-id-spss-08f30a3dad9cef45d6fea0ce7a6dcb90b6b6ccde.zip
filled error handler in certificate servlet
Diffstat (limited to 'spss')
-rw-r--r--spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/service/CertificateProviderServlet.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/service/CertificateProviderServlet.java b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/service/CertificateProviderServlet.java
index fe99bcae1..c8a0f68bf 100644
--- a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/service/CertificateProviderServlet.java
+++ b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/service/CertificateProviderServlet.java
@@ -171,7 +171,8 @@ public class CertificateProviderServlet extends HttpServlet {
response.sendError(HttpServletResponse.SC_NOT_FOUND);
return;
} catch(Throwable e) {
-
+ Logger.error("Unhandled Exception when providing certificate", e);
+ response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
}
}
}