mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Improved error message to make it easier for users to understand. #5539
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user