Skip to content

Handle JSON.parse failures in verify.js#437

Open
danfloyd111 wants to merge 1 commit intocisco:masterfrom
danfloyd111:patch-2
Open

Handle JSON.parse failures in verify.js#437
danfloyd111 wants to merge 1 commit intocisco:masterfrom
danfloyd111:patch-2

Conversation

@danfloyd111
Copy link

To reproduce the issue that I'm trying to fix, please try to verify a "bad" token like "foo-bar-baz": it will trigger an "unhandled promise rejection" that can't be captured in client code.

To reproduce the issue that I'm trying to fix, please try to verify a "bad" token like "foo-bar-baz": it will trigger an "unhandled promise rejection" that can't be captured in client code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant