-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot read property 'headers' of undefined #2
Comments
Is this reproducible in any way? Sent from my iPhone
|
It's kind of random. Sometimes res.headers comes empty from fullcontact API but I don't know how to reproduce it. |
I'm now checking if there are errors before parsing the headers. So you will most likely receive an Release will be in npm in a couple of minutes. |
Great, I'll keep you posted. Thanks |
Hi,
My app crash whenever Fullcontact send responses without headers. Could you check if res.headers exists before accessing res.headers['x-rate-limit-reset']?
Thanks!
The text was updated successfully, but these errors were encountered: