fakehub: avoid commits after debugging errors

This commit is contained in:
Mike McLean 2023-04-06 23:07:17 -04:00
parent dca12896a2
commit 63cd77f049

View file

@ -29,6 +29,8 @@ def handle_rpc(self, environ):
etype, e, tb = sys.exc_info()
traceback.print_exc()
pdb.post_mortem(tb)
# re-raise or the app handler will commit
raise
kojixmlrpc.ModXMLRPCRequestHandler.handle_rpc = handle_rpc