diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-09-23 12:16:02 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-09-23 12:16:02 +0200 |
commit | 08f30a3dad9cef45d6fea0ce7a6dcb90b6b6ccde (patch) | |
tree | 21833cb383d9a0d34ca0af04fb356a6c8cde8059 /spss/server/serverlib/src/main/java/at | |
parent | bad8d3cc1051aa22c679801310f94c852821dc4d (diff) | |
download | moa-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/server/serverlib/src/main/java/at')
-rw-r--r-- | spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/service/CertificateProviderServlet.java | 3 |
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); } } } |