We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With the recent issue that Facebook had, we have been getting a lot of errors generated by the code below:
return request.get(this.options, function(err, res, body) { if (err) { self.callback({ message: 'Error processing https request' , exception: err }, null); return; } if (~res.headers['content-type'].indexOf('image')) { body = { image: true , location: res.headers.location }; } self.end(body); }).on('error', function(err) { self.callback({ message: 'Error processing https request' , exception: err }, null); });
The error is caught twice here, resulting in double callbacks and may cause uncaught exceptions if not handled properly.
The text was updated successfully, but these errors were encountered:
Lol, this was driving me crazy. Ty!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
With the recent issue that Facebook had, we have been getting a lot of errors generated by the code below:
The error is caught twice here, resulting in double callbacks and may cause uncaught exceptions if not handled properly.
The text was updated successfully, but these errors were encountered: