aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js
diff options
context:
space:
mode:
Diffstat (limited to 'workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js')
-rw-r--r--workflow-designer-ui/src/main/frontend/src/shared/errorResponseHandler/errorResponseHandler.js3
1 files changed, 1 insertions, 2 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 960e255d..948f9f2f 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
@@ -13,14 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-//import React from 'react';
import store from 'wfapp/store';
import { showErrorModalAction } from 'shared/modal/modalWrapperActions';
export default error => {
const errorData = {
title: error.statusText,
- body: error.responseText ? error.responseText : 'GENERIC ERROR'
+ body: error.data ? error.data : 'GENERIC ERROR'
};
store.dispatch(
showErrorModalAction({