larray.run_editor_on_exception(root_path=None, usercode_traceback=True)[source]

Runs the editor when an unhandled exception (a fatal error) happens.

root_pathstr, optional

Defaults to None (the directory of the main script).

usercode_tracebackbool, optional

Whether or not to show only the part of the traceback (error log) which corresponds to the user code. Otherwise, it will show the complete traceback, including code inside libraries. Defaults to True.


sets sys.excepthook