Cleanup
This commit is contained in:
parent
ccbbe6f2f8
commit
e1e6063d17
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue