mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Merge pull request #397 from ticky/friendlier-unknown-errors
Friendlier unknown errors
This commit is contained in:
commit
879aa9ad26
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export default function errorsMiddleware() {
|
||||||
dispatch(showAlert(title, message));
|
dispatch(showAlert(title, message));
|
||||||
} else {
|
} else {
|
||||||
console.error(action.error);
|
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