Comparing version 0.0.5 to 0.0.6
@@ -13,2 +13,3 @@ /** | ||
this[name] = function (callback) { | ||
var err = new Error(); | ||
arguments[0] = wrap(callback, name); | ||
@@ -15,0 +16,0 @@ return original.apply(this, arguments); |
@@ -27,3 +27,3 @@ module.exports = trycatch; | ||
if (token.stack) { | ||
err.stack += '\n ----------------------------------------\n' + | ||
err.stack += '\n----------------------------------------\n' + | ||
' at '+token.orig+'\n' + | ||
@@ -30,0 +30,0 @@ token.stack.substring(token.stack.indexOf("\n") + 1) |
{ | ||
"name" : "trycatch", | ||
"version" : "0.0.5", | ||
"version" : "0.0.6", | ||
"description" : "An asynchronous exception handler with long stack traces for node.js", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/CrabDude/trycatch", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13573
292