From d62b31c981632e2de591e71d247fd13d328de7d8 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Fri, 13 Sep 2024 17:05:18 +0200 Subject: [PATCH] fix error message shown in progress bar --- client/ayon_core/tools/publisher/widgets/publish_frame.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/ayon_core/tools/publisher/widgets/publish_frame.py b/client/ayon_core/tools/publisher/widgets/publish_frame.py index d9a9e501ef..55051d2c40 100644 --- a/client/ayon_core/tools/publisher/widgets/publish_frame.py +++ b/client/ayon_core/tools/publisher/widgets/publish_frame.py @@ -412,7 +412,12 @@ class PublishFrame(QtWidgets.QWidget): self._set_main_label("Error happened") error_info = self._controller.get_publish_error_info() - self._message_label_top.setText(error_info.description) + + error_message = "Unknown error happened" + if error_info is not None: + error_message = error_info.message + + self._message_label_top.setText(error_message) self._set_success_property(1)