Browse Source

Friendlier unknown errors

Don't ask users to check the console - if they're on mobile, they probably can't anyway ;)
closed-social-glitch-2
Jessica Stokes 7 years ago
parent
commit
cc46c6b493
No known key found for this signature in database GPG Key ID: E3DE5BE038F70FE9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/assets/javascripts/components/middleware/errors.jsx

+ 1
- 1
app/assets/javascripts/components/middleware/errors.jsx View File

@ -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…
Cancel
Save