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