From 84c93610d40d59df7d5c48d5ade158498caad55e Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 26 Feb 2019 12:08:43 +0100 Subject: add log message if signed PDF is not available --- pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java | 1 + 1 file changed, 1 insertion(+) (limited to 'pdf-as-web/src/main') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java index ec7e7f2b..401d3e68 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/PDFData.java @@ -160,6 +160,7 @@ public class PDFData extends HttpServlet { logger.debug("Keeping signed data in session : {}", request.getSession().getId()); } } else { + logger.info("No signed pdf document available."); PdfAsHelper.setSessionException(request, response, "No signed pdf document available.", null); PdfAsHelper.gotoError(getServletContext(), request, response); -- cgit v1.2.3