changeset 41:a1100ec32be2

Log exception on rendering errors
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 20 Oct 2014 16:16:53 +0200
parents 8a3f3427aa15
children 6d511e93a331
files odfcast/convert.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/odfcast/convert.py	Mon Oct 20 16:16:21 2014 +0200
+++ b/odfcast/convert.py	Mon Oct 20 16:16:53 2014 +0200
@@ -63,6 +63,7 @@
                 outfile.close()
                 outfile = tfile
             except:
+                log.exception("Template error")
                 return "Template error", 500
 
         if fformat != "odt":
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)