Skip to content

Commit

Permalink
fix(dedicated-cloud): operations error message
Browse files Browse the repository at this point in the history
Fixes #DTRSD-28445

Signed-off-by: Ganesh Kumar <[email protected]>
  • Loading branch information
Ganesh Kumar committed Jan 27, 2021
1 parent 6c93cc2 commit 3ed0511
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ export default class {
this.$translate.instant('dedicatedCloud_OPERATIONS_success'),
),
)
.catch((error) =>
this.goBack(
this.$translate.instant('dedicatedCloud_OPERATIONS_error', {
message: get(error, 'message'),
}),
.catch((error) => {
console.log('error', error);
return this.goBack(
`${this.$translate.instant('dedicatedCloud_OPERATIONS_error')} ${get(
error,
'message',
'',
)}`,
'danger',
),
);
);
});
}
}

0 comments on commit 3ed0511

Please sign in to comment.