function: Add except hook for threads

This will log exceptions on different threads
This commit is contained in:
Jordan Ruthe
2021-05-02 17:48:04 -04:00
parent 7b6efa0521
commit c2c4e9c42e
2 changed files with 25 additions and 1 deletions

View File

@@ -745,6 +745,8 @@ def main():
version
)
functions.patch_threading_excepthook()
logging.info("KlipperScreen version: %s" % version)