[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()
|
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("[")
|
||||||
|
|
Loading…
Reference in a new issue