Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIRE: Print better AJAX error messages #187

@signed-log

Description

@signed-log

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions