[core] log exceptions
to enable error investigation, log exceptions. see #940
This commit is contained in:
parent
79ce2167b0
commit
6a93238bda
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@ if __name__ == "__main__":
|
|||
main()
|
||||
except Exception as e:
|
||||
# really basic errors -> make sure these are shown in the status bar by minimal config
|
||||
logging.exception(e)
|
||||
if not started:
|
||||
print("{\"version\":1}")
|
||||
print("[")
|
||||
|
|
Loading…
Reference in a new issue