Commits

Samuel Ytterbrink  committed 0bc207f

made the exception logging better! no you know what file that made it crash!

  • Participants
  • Parent commits b0d29e6

Comments (0)

Files changed (1)

File src/pytddmon.py

             return func(*a, **k)
         except:
             import traceback
-            return ('', 0, 1j, traceback.format_exc())
+            return ('Exception(%s)' % a[0] , 0, 1j, traceback.format_exc())
     return wrapper
 
 @log_exceptions