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

Task/add console log-print on failure to deliver log #65

Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Failing to send logs to loggly will print an error to console

  • Loading branch information
alfasin committed Jul 16, 2020
commit 04bc1c28377ef46189f9b7fdba4a05f91aafb212
@@ -110,6 +110,9 @@ Loggly.prototype.log = function (level, msg, meta, callback) {
//
function logged() {
self.emit('logged');
if (err) {
console.error('Loggly Error:', err);
}
callback(null, true);
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.