Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding exception handling to loggly

  • Loading branch information...
commit f070376f22694e64633d9144fb859102e97dd80d 1 parent bfb961d
@jesseditson authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/logging/logger.js
View
2  lib/logging/logger.js
@@ -74,6 +74,8 @@ if(!loggly || !loggly.subdomain || !(loggly.inputToken || ['auth','inputName'].s
logglyOptions.inputName = loggly.inputName
}
logger.add(Loggly,logglyOptions);
+ logglyOptions.handleExceptions = true
+ logger.handleExceptions(Loggly,logglyOptions)
}
// If logger itself throws an error, don't re-throw.
Please sign in to comment.
Something went wrong with that request. Please try again.