This commit is contained in:
Mark Qvist 2026-04-28 15:46:04 +02:00
parent ccbbe6f2f8
commit e1e6063d17

View file

@ -162,9 +162,9 @@ def main():
try: return_code = asyncio.run(_rnsh_cli_main())
except SystemExit: pass
except KeyboardInterrupt: pass
except Exception as ex:
print(f"Unhandled exception: {ex}")
exc = ex
except Exception as e:
print(f"{e}")
exc = e
process.tty_unset_reader_callbacks(0)
if verbose_set and exc: raise exc