Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIRE: Print better AJAX error messages #187

Open
signed-log opened this issue Mar 11, 2022 · 0 comments
Open

FIRE: Print better AJAX error messages #187

signed-log opened this issue Mar 11, 2022 · 0 comments

Comments

@signed-log
Copy link

When running FIRE and a report from a site you don't have an account in, comes in the chat it fails with a cryptic AJAX error that is commanding you to open the JS console that lists the full error correctly

{
  "error_id": 402,
  "error_message": "The account associated with the access_token does not have a user on the site",
  "error_name": "invalid_access_token"
}

As a non-JS programmer I'd assume it would be easy to catch the error and display a nicer error message for that specific error, but I don't know if it is possible

@signed-log signed-log changed the title FIRE: Better AJAX error messages FIRE: Print better AJAX error messages Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants