From 839c3fbeff72ef579021e029b781e3ae28c84bf4 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 22 Jul 2013 09:13:23 -0500 Subject: [PATCH] fixed issue 1602 again, thanks Alan --- VERSION | 2 +- gluon/dal.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index ace6c9b8..cd0c10de 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.07.22.04.48.04 +Version 2.6.0-development+timestamp.2013.07.22.09.12.34 diff --git a/gluon/dal.py b/gluon/dal.py index c49c847e..bccd14aa 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -4324,10 +4324,10 @@ class DatabaseStoredFile: try: if db.executesql(query): return True - except IOError, e: + except Exception: # no web2py_filesystem found? - LOGGER.error("Could not retrieve %s. %s" % (filename, e)) - pass + tb = traceback.format_exc() + LOGGER.error("Could not retrieve %s\n%s" % (filename, tb)) return False