From 5e9aff4e802b8619670c4bd43123e5f7b10075e0 Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Wed, 11 Jun 2025 15:40:17 +0200 Subject: [PATCH 1/2] logError --- .../client/source/class/osparc/desktop/StudyEditor.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js b/services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js index 154c1a837861..ff88fcac0e75 100644 --- a/services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js +++ b/services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js @@ -618,10 +618,8 @@ qx.Class.define("osparc.desktop.StudyEditor", { this.__requestStartPipeline(studyId, partialPipeline, true); } }, this); - } else if (err.status == "402") { - osparc.FlashMessenger.logAs(msg, "WARNING"); } else { - osparc.FlashMessenger.logAs(msg, "WARNING"); + osparc.FlashMessenger.logError(err); this.getStudyLogger().error(null, "Unsuccessful pipeline submission"); } this.getStudy().setPipelineRunning(false); From 8cb80b2c4261b2d23562446d51d9135a949add7e Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Wed, 11 Jun 2025 15:47:22 +0200 Subject: [PATCH 2/2] fix --- .../client/source/class/osparc/FlashMessenger.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/static-webserver/client/source/class/osparc/FlashMessenger.js b/services/static-webserver/client/source/class/osparc/FlashMessenger.js index 89610ea2da64..33eca905fb8a 100644 --- a/services/static-webserver/client/source/class/osparc/FlashMessenger.js +++ b/services/static-webserver/client/source/class/osparc/FlashMessenger.js @@ -105,13 +105,14 @@ qx.Class.define("osparc.FlashMessenger", { allowGrowX: false, }); errorLabel.addListener("tap", () => { + const currentStudy = osparc.store.Store.getInstance().getCurrentStudy(); const dataToClipboard = { message, supportId, timestamp: new Date().toString(), url: window.location.href, releaseTag: osparc.utils.Utils.getReleaseTag(), - studyId: osparc.store.Store.getInstance().getCurrentStudy() || "", + studyId: currentStudy ? currentStudy.getUuid() : "", } osparc.utils.Utils.copyTextToClipboard(osparc.utils.Utils.prettifyJson(dataToClipboard)); });