mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
(hotfix) missing traceback on sync to avalon crash
This commit is contained in:
parent
4d30a38549
commit
128ace6351
2 changed files with 12 additions and 4 deletions
|
|
@ -151,7 +151,10 @@ class SyncToAvalon(BaseAction):
|
|||
except ValueError as ve:
|
||||
job['status'] = 'failed'
|
||||
message = str(ve)
|
||||
self.log.error('Error during syncToAvalon: {}'.format(message))
|
||||
self.log.error(
|
||||
'Error during syncToAvalon: {}'.format(message),
|
||||
exc_info=True
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
job['status'] = 'failed'
|
||||
|
|
@ -161,7 +164,8 @@ class SyncToAvalon(BaseAction):
|
|||
exc_type, fname, exc_tb.tb_lineno
|
||||
)
|
||||
self.log.error(
|
||||
'Error during syncToAvalon: {}'.format(log_message)
|
||||
'Error during syncToAvalon: {}'.format(log_message),
|
||||
exc_info=True
|
||||
)
|
||||
message = (
|
||||
'Unexpected Error'
|
||||
|
|
|
|||
|
|
@ -169,7 +169,10 @@ class Sync_To_Avalon(BaseAction):
|
|||
job['status'] = 'failed'
|
||||
session.commit()
|
||||
message = str(ve)
|
||||
self.log.error('Error during syncToAvalon: {}'.format(message))
|
||||
self.log.error(
|
||||
'Error during syncToAvalon: {}'.format(message),
|
||||
exc_info=True
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
job['status'] = 'failed'
|
||||
|
|
@ -180,7 +183,8 @@ class Sync_To_Avalon(BaseAction):
|
|||
exc_type, fname, exc_tb.tb_lineno
|
||||
)
|
||||
self.log.error(
|
||||
'Error during syncToAvalon: {}'.format(log_message)
|
||||
'Error during syncToAvalon: {}'.format(log_message),
|
||||
exc_info=True
|
||||
)
|
||||
message = (
|
||||
'Unexpected Error'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue