We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f161584 commit 486ea99Copy full SHA for 486ea99
packages/tdb-dashboard/src/hooks/hookUtils.js
@@ -40,7 +40,7 @@ export function formatErrorMessage (err){
40
let message = err.message
41
if (message.indexOf("Network Error")>-1){
42
message = "Network Error"
43
- }else if(err.data && err.data["api:message"]){
+ }else if(err.data){
44
if( err.data["api:message"] === "Incorrect authentication information"){
45
message = "Incorrect authentication information, wrong username or password"
46
}else if (err.data["api:status"]==="api:conflict"){
0 commit comments