Add ignoredErrors in alertError function
This commit is contained in:
@@ -34,6 +34,16 @@ export function alertError(msg:string){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
msg = msg.trim()
|
||||||
|
|
||||||
|
const ignoredErrors = [
|
||||||
|
'{}'
|
||||||
|
]
|
||||||
|
|
||||||
|
if(ignoredErrors.includes(msg)){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
let submsg = ''
|
let submsg = ''
|
||||||
|
|
||||||
//check if it's a known error
|
//check if it's a known error
|
||||||
|
|||||||
Reference in New Issue
Block a user