- Timestamp:
- 03/05/04 13:46:08 (21 years ago)
- Location:
- pykota/trunk/bin
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r1390 r1391 24 24 # 25 25 # $Log$ 26 # Revision 1.33 2004/03/05 12:46:07 jalet 27 # Improve tracebacks 28 # 26 29 # Revision 1.32 2004/03/05 12:31:35 jalet 27 30 # Now should output full traceback when crashing … … 489 492 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, PyKotaRequesterError, AttributeError, KeyError, IndexError, ValueError, TypeError, IOError), msg : 490 493 import traceback 491 sys.stderr.write("ERROR : cupspykota backend failed (%s) => %s\n" % (msg, traceback.format_stack()))494 sys.stderr.write("ERROR : cupspykota backend failed (%s)\n%s" % (msg, "ERROR : ".join(traceback.format_stack()))) 492 495 sys.stderr.flush() 493 496 retcode = 1 -
pykota/trunk/bin/pykota
r1390 r1391 24 24 # 25 25 # $Log$ 26 # Revision 1.56 2004/03/05 12:46:08 jalet 27 # Improve tracebacks 28 # 26 29 # Revision 1.55 2004/03/05 12:31:35 jalet 27 30 # Now should output full traceback when crashing … … 355 358 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, PyKotaRequesterError, AttributeError, KeyError, IndexError, ValueError, TypeError, IOError), msg : 356 359 import traceback 357 sys.stderr.write("ERROR : PyKota filter failed (%s) => %s\n" % (msg, traceback.format_stack()))360 sys.stderr.write("ERROR : PyKota filter failed (%s)\n%s" % (msg, "ERROR : ".join(traceback.format_stack()))) 358 361 sys.stderr.flush() 359 362 try :