diff options
-rw-r--r-- | workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js b/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js index 948f9f2f..f8c8f327 100644 --- a/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js +++ b/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js @@ -19,7 +19,7 @@ import { showErrorModalAction } from 'shared/modal/modalWrapperActions'; export default error => { const errorData = { title: error.statusText, - body: error.data ? error.data : 'GENERIC ERROR' + body: error.data ? error.data.message : 'GENERIC ERROR' }; store.dispatch( showErrorModalAction({ |