Jul-24-2023, 06:52 AM
(This post was last modified: Jul-24-2023, 06:52 AM by Gribouillis.)
(Jul-24-2023, 05:44 AM)ujlain Wrote: Paramiko ought to capture this as a feature.Issue a bug report to Paramiko's maintainers You could also look into the source code to see why the exception is not handled by the calling thread.
(Jul-24-2023, 05:44 AM)ujlain Wrote: traceback error can't be gracefully handledSee if you can do something by overrinding temporarily
threading.excepthook
(Jul-24-2023, 05:44 AM)ujlain Wrote: while True:Why a loop? Why not just
event.wait()
?