aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src
diff options
context:
space:
mode:
Diffstat (limited to 'workflow-designer-ui/src')
-rw-r--r--workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js2
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({