diff servlet/src/digilib/servlet/PDFCache.java @ 570:fd2ef7e46119

more cleanup, set version to 1.8.2
author robcast
date Tue, 21 Dec 2010 20:24:09 +0100
parents 62d3d9f7547f
children 800f2bb57f1f
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/PDFCache.java	Tue Dec 21 09:52:16 2010 +0100
+++ b/servlet/src/digilib/servlet/PDFCache.java	Tue Dec 21 20:24:09 2010 +0100
@@ -184,7 +184,7 @@
             try {
                 ServletOps.sendFile(getCacheFile(docid), "application/pdf", getDownloadFilename(pdfji), response);
                 //sendFile(docid, getDownloadFilename(pdfji), response);
-            } catch (IOException e) {
+            } catch (Exception e) {
             	// sending didn't work
                 logger.error(e.getMessage());
             }