diff options
author | Jessica Stokes <hello@jessicastokes.net> | 2017-01-04 18:31:45 -0800 |
---|---|---|
committer | Jessica Stokes <hello@jessicastokes.net> | 2017-01-04 18:31:45 -0800 |
commit | cc46c6b4936a3dbe1c38b97ab77a3fcfd3f22f03 (patch) | |
tree | cd810e069eb16c83a6283d50c3bbfac2b9525f27 /app | |
parent | 251b04298e826818ecb48c2fdf96a83649e14e93 (diff) |
Friendlier unknown errors
Don't ask users to check the console - if they're on mobile, they probably can't anyway ;)
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/components/middleware/errors.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/middleware/errors.jsx b/app/assets/javascripts/components/middleware/errors.jsx index 3a1473bc1..74d77f0f9 100644 --- a/app/assets/javascripts/components/middleware/errors.jsx +++ b/app/assets/javascripts/components/middleware/errors.jsx @@ -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.')); } } } |