fixed issue 1602 again, thanks Alan

This commit is contained in:
mdipierro
2013-07-22 09:13:23 -05:00
parent 60d0812f77
commit 839c3fbeff
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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