mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fill title in exception if is missing
This commit is contained in:
parent
a14df299c8
commit
9cbfecf92c
1 changed files with 5 additions and 0 deletions
|
|
@ -1282,6 +1282,11 @@ class PublishModel:
|
|||
self._add_validation_error(result)
|
||||
|
||||
else:
|
||||
if isinstance(exception, PublishError):
|
||||
if not exception.title:
|
||||
exception.title = plugin.label or plugin.__name__
|
||||
self._add_validation_error(result)
|
||||
|
||||
error_info = PublishErrorInfo.from_exception(exception)
|
||||
self._set_publish_error_info(error_info)
|
||||
self._set_is_crashed(True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue