raise the exception
authorTony Mack <tmack@cs.princeton.edu>
Thu, 3 Jan 2008 17:14:07 +0000 (17:14 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 3 Jan 2008 17:14:07 +0000 (17:14 +0000)
system/logger.py

index c308df7..1f88eca 100644 (file)
@@ -58,5 +58,6 @@ def log(method, method_name = None, \
         except:
             print >>logfile, " [FAILED]"
             print >> error_logfile, "%s: %s\n" % (method_name, traceback.format_exc())
+           raise
 
     return wrapper