diff --git a/client/ayon_core/tools/publisher/models/publish.py b/client/ayon_core/tools/publisher/models/publish.py index b01cfb30f9..7fc4ca8bb4 100644 --- a/client/ayon_core/tools/publisher/models/publish.py +++ b/client/ayon_core/tools/publisher/models/publish.py @@ -51,13 +51,13 @@ class PublishErrorInfo: @classmethod def from_exception(cls, exc) -> "PublishErrorInfo": + title = "This is not your fault" if isinstance(exc, PublishArtistError): return cls( exc.description or exc.message, - title=exc.title, + title=exc.title or title, detail=exc.detail, ) - title = "This is not your fault" if isinstance(exc, KnownPublishError): msg = str(exc) else: