forked from treehouse/mastodon
Merge pull request #397 from ticky/friendlier-unknown-errors
Friendlier unknown errorsrebase/4.0.0rc2
commit
879aa9ad26
|
@ -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 New Issue