willbarrett commented on a change in pull request #11382:
URL:
https://github.com/apache/incubator-superset/pull/11382#discussion_r512322701
##########
File path: superset-frontend/src/dashboard/components/PropertiesModal.jsx
##########
@@ -165,13 +165,25 @@ class PropertiesModal extends React.PureComponent {
}
async handleErrorResponse(response) {
- const { error, statusText } = await getClientErrorObject(response);
+ const { error, statusText, message } = await
getClientErrorObject(response);
+ let errorText = error || statusText || t('An error has occurred');
Review comment:
Agreed, let's treat that as a separate task.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]