Skip to content
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

Handling syntax error while parsing HTML response #18

Merged
merged 2 commits into from Nov 7, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Log non 200 status code and message

  • Loading branch information
Shwetajain148
Shwetajain148 committed Nov 2, 2017
commit f4a0ad296d9a4e89c12e4c18a598141d8bc731f8
@@ -192,6 +192,8 @@ Loggly.prototype.log = function (msg, tags, callback) {
callback(null, result);
}
}
else
console.log('Error Code- ' + res.statusCode + ' "' + res.statusMessage + '"');
}
catch (ex) {
if (callback) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.