mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Merged in bugfix/event_server_traceback (pull request #371)
use logging traceback print instead of traceback module Approved-by: Milan Kolar <milan@orbi.tools>
This commit is contained in:
commit
c6e7e9fd2b
1 changed files with 1 additions and 2 deletions
|
|
@ -30,8 +30,7 @@ def main(args):
|
||||||
server.run_server(session)
|
server.run_server(session)
|
||||||
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
import traceback
|
log.error("Event server crashed. See traceback below", exc_info=True)
|
||||||
traceback.print_tb(exc.__traceback__)
|
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
log.debug("First closing socket")
|
log.debug("First closing socket")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue