From 63a72eee42a2f4033a7135aa0fae00accba86c29 Mon Sep 17 00:00:00 2001 From: Tsering Paljor Date: Thu, 7 May 2026 14:00:31 +0700 Subject: [PATCH] [chore] Improve error message specificity and show Slack icon in Node History (#5313) * Improve frontend error message specificity. * Show the Slack icon in Node History. * Scope error handling to 400 status code * Add test --- ...he_slack_icon_to_node_history_entries.json | 9 ++++++++ ...end_error_message_to_be_more_specific.json | 9 ++++++++ .../workflow/sidePanels/NodeHistory.vue | 6 ++++-- .../modules/core/plugins/clientHandler.js | 14 +++++++++++++ .../test/unit/core/utils/errors.spec.js | 21 +++++++++++++++++++ 5 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 changelog/entries/unreleased/refactor/added_the_slack_icon_to_node_history_entries.json create mode 100644 changelog/entries/unreleased/refactor/improved_the_frontend_error_message_to_be_more_specific.json diff --git a/changelog/entries/unreleased/refactor/added_the_slack_icon_to_node_history_entries.json b/changelog/entries/unreleased/refactor/added_the_slack_icon_to_node_history_entries.json new file mode 100644 index 0000000000..60e40f062a --- /dev/null +++ b/changelog/entries/unreleased/refactor/added_the_slack_icon_to_node_history_entries.json @@ -0,0 +1,9 @@ +{ + "type": "refactor", + "message": "Added the Slack icon to Node History entries.", + "issue_origin": "github", + "issue_number": null, + "domain": "automation", + "bullet_points": [], + "created_at": "2026-05-06" +} \ No newline at end of file diff --git a/changelog/entries/unreleased/refactor/improved_the_frontend_error_message_to_be_more_specific.json b/changelog/entries/unreleased/refactor/improved_the_frontend_error_message_to_be_more_specific.json new file mode 100644 index 0000000000..80cfbf632f --- /dev/null +++ b/changelog/entries/unreleased/refactor/improved_the_frontend_error_message_to_be_more_specific.json @@ -0,0 +1,9 @@ +{ + "type": "refactor", + "message": "Improved the frontend error message to be more specific.", + "issue_origin": "github", + "issue_number": null, + "domain": "core", + "bullet_points": [], + "created_at": "2026-05-06" +} \ No newline at end of file diff --git a/web-frontend/modules/automation/components/workflow/sidePanels/NodeHistory.vue b/web-frontend/modules/automation/components/workflow/sidePanels/NodeHistory.vue index 6f0ed76cec..82c0b65cc9 100644 --- a/web-frontend/modules/automation/components/workflow/sidePanels/NodeHistory.vue +++ b/web-frontend/modules/automation/components/workflow/sidePanels/NodeHistory.vue @@ -7,7 +7,8 @@