1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13: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. * Handler for API errors.
*/ */
const handleError = error => { const handleError = error => {
notificationStore.danger(error) notificationStore.danger('An error has occured.')
return { error } return { error }
} }