summaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src
diff options
context:
space:
mode:
authorMalek <malek.zoabi@amdocs.com>2018-08-09 15:01:31 +0300
committerMalek <malek.zoabi@amdocs.com>2018-08-09 15:06:38 +0300
commit2b2107ebdb0defc9f87e474995b09bb96463e593 (patch)
tree4a17dac838866416b15ca2df1d4bd1a51163ac48 /workflow-designer-ui/src
parent3930f4166d19391e720f381ca6f07e86d5a92e82 (diff)
Fix error handler
Issue-ID: SDC-1622 Change-Id: I6acde642829c53ab9154fcc4479d86060790c7a3 Signed-off-by: Malek <malek.zoabi@amdocs.com>
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({