Improved error message to make it easier for users to understand. #5539

This commit is contained in:
Pravesh Sharma
2022-11-29 18:15:46 +05:30
committed by GitHub
parent 7b96bf857c
commit a824d9dd59
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ export function getNodeView(nodeType, treeNodeInfo, actionType, itemNodeData, fo
});
} else if (err?.response?.data?.errormsg) {
Notify.alert(
gettext(err.response.statusText),
gettext('Error'),
gettext(err.response.data.errormsg)
);