Skip to content

Commit

Permalink
refactor: comment added [WTEL-3894]
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirBeria committed Nov 23, 2023
1 parent b69d42a commit 3e5c9f4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default {
await this.save();
this.hideSaveFailedPopup();
} catch (err) {
// Required to prevent an open popup when the error is related to "already existed name"
this.isSaveFailedPopup = err.response?.data?.id !== 'store.sql_routing_schema.save.valid.name';
throw err;
}
Expand Down

0 comments on commit 3e5c9f4

Please sign in to comment.