[core] log exceptions

to enable error investigation, log exceptions.

see #940
This commit is contained in:
tobi-wan-kenobi 2022-11-27 09:46:55 +01:00
parent 79ce2167b0
commit 6a93238bda

View file

@ -149,6 +149,7 @@ if __name__ == "__main__":
main() main()
except Exception as e: except Exception as e:
# really basic errors -> make sure these are shown in the status bar by minimal config # really basic errors -> make sure these are shown in the status bar by minimal config
logging.exception(e)
if not started: if not started:
print("{\"version\":1}") print("{\"version\":1}")
print("[") print("[")