mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Add more logging to exception handling
This commit is contained in:
parent
3f941a1dff
commit
c7d0f2b987
1 changed files with 4 additions and 1 deletions
|
|
@ -497,8 +497,11 @@ class ProjectPushItemProcess:
|
|||
|
||||
except Exception as exc:
|
||||
_exc, _value, _tb = sys.exc_info()
|
||||
product_name = self._src_product_entity["name"]
|
||||
self._status.set_failed(
|
||||
"Unhandled error happened: {}".format(str(exc)),
|
||||
"Unhandled error happened for `{}`: {}".format(
|
||||
product_name, str(exc)
|
||||
),
|
||||
(_exc, _value, _tb)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue