Changeset 1390
- Timestamp:
- 03/05/04 13:31:35 (21 years ago)
- Location:
- pykota/trunk/bin
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r1375 r1390 24 24 # 25 25 # $Log$ 26 # Revision 1.32 2004/03/05 12:31:35 jalet 27 # Now should output full traceback when crashing 28 # 26 29 # Revision 1.31 2004/03/01 14:35:56 jalet 27 30 # PYKOTAPHASE wasn't set soon enough at the start of the job … … 485 488 retcode = kotabackend.mainWork() 486 489 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, PyKotaRequesterError, AttributeError, KeyError, IndexError, ValueError, TypeError, IOError), msg : 487 sys.stderr.write("ERROR : cupspykota backend failed (%s)\n" % msg) 490 import traceback 491 sys.stderr.write("ERROR : cupspykota backend failed (%s) => %s\n" % (msg, traceback.format_stack())) 488 492 sys.stderr.flush() 489 493 retcode = 1 -
pykota/trunk/bin/pykota
r1376 r1390 24 24 # 25 25 # $Log$ 26 # Revision 1.55 2004/03/05 12:31:35 jalet 27 # Now should output full traceback when crashing 28 # 26 29 # Revision 1.54 2004/03/01 15:06:51 jalet 27 30 # Pre and Post hooks should now work in the pykota filter too. … … 351 354 retcode = kotafilter.mainWork() 352 355 except (PyKotaToolError, PyKotaConfigError, PyKotaStorageError, PyKotaAccounterError, PyKotaRequesterError, AttributeError, KeyError, IndexError, ValueError, TypeError, IOError), msg : 353 sys.stderr.write("ERROR : PyKota filter failed (%s)\n" % msg) 356 import traceback 357 sys.stderr.write("ERROR : PyKota filter failed (%s) => %s\n" % (msg, traceback.format_stack())) 354 358 sys.stderr.flush() 355 359 try :