mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04: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)
|
||||
|
||||
except Exception as exc:
|
||||
import traceback
|
||||
traceback.print_tb(exc.__traceback__)
|
||||
log.error("Event server crashed. See traceback below", exc_info=True)
|
||||
|
||||
finally:
|
||||
log.debug("First closing socket")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue