1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

update catch all error message

This commit is contained in:
Keviin Åberg Kultalahti 2021-01-25 11:06:50 +01:00
parent e32495a2f6
commit 57dcaefa8b

View file

@ -9,7 +9,7 @@ let cache = {}
* Handler for API errors.
*/
const handleError = error => {
notificationStore.danger(error)
notificationStore.danger('An error has occured.')
return { error }
}