bncriju commented on code in PR #2675:
URL: 
https://github.com/apache/incubator-kie-tools/pull/2675#discussion_r1805942670


##########
packages/runtime-tools-process-dev-ui-webapp/src/components/containers/ProcessFormContainer/ProcessFormContainer.tsx:
##########
@@ -57,7 +57,9 @@ const ProcessFormContainer: 
React.FC<ProcessFormContainerProps & OUIAProps> = ({
               onSubmitSuccess(id);
             })
             .catch((error) => {
-              const message = error.response ? error.response.data : 
error.message;
+              const message = error.response
+                ? ` ${error.message}   ' ${error.response.request.statusText} 
'`

Review Comment:
   Thank you for the comment and suggestion. It's done. Please have a look now. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to