mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 19:23:41 +01:00
Friendlier unknown errors
Don't ask users to check the console - if they're on mobile, they probably can't anyway ;)
This commit is contained in:
parent
251b04298e
commit
cc46c6b493
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export default function errorsMiddleware() {
|
|||
dispatch(showAlert(title, message));
|
||||
} else {
|
||||
console.error(action.error);
|
||||
dispatch(showAlert('Oops!', 'An unexpected error occurred. Inspect the console for more details'));
|
||||
dispatch(showAlert('Oops!', 'An unexpected error occurred.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue