Hurray! Leo now overrides sys.excepthook

20 views
Skip to first unread message

Edward K. Ream

unread,
Jul 17, 2021, 4:53:55 PM7/17/21
to leo-editor
When I awoke from a nap this afternoon I remembered sys.excepthook. Overriding this method catches (almost) all exceptions.

There is no need to use the @g.callback decorator!

#2081 and PR #2082 show the straightforward changes.

Overriding sys.excepthook should catch any lingering exceptions involving Qt. Leo is now much more solid than before.

Edward
Reply all
Reply to author
Forward
0 new messages