Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.

Catch getJWT promise errors #46

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

NikitaVlaznev
Copy link
Contributor

Malformed tokens (undefined, random string) can make payload validation code to throw an Error, that will not be caught and the function that have called getJWT will hang. It would be nicer to catch such error.

@daffl daffl merged commit ff54566 into feathersjs-ecosystem:master Apr 30, 2017
@daffl
Copy link
Member

daffl commented Apr 30, 2017

It should indeed, thank you! Released as v0.3.2

@NikitaVlaznev NikitaVlaznev deleted the getjwt-catch branch April 30, 2017 23:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants