Comparing version 0.0.2 to 0.0.3
@@ -13,3 +13,2 @@ /** | ||
this[name] = function (callback) { | ||
var err = new Error(); | ||
arguments[0] = wrap(callback, name); | ||
@@ -16,0 +15,0 @@ return original.apply(this, arguments); |
@@ -54,8 +54,3 @@ module.exports = trycatch; | ||
_TOKEN_.token = catchFn; | ||
try { | ||
_TOKEN_(); | ||
} catch (err) { | ||
err.stack = filterInternalFrames(err.stack); | ||
catchFn(err); | ||
} | ||
_TOKEN_(); | ||
} | ||
@@ -62,0 +57,0 @@ |
{ | ||
"name" : "trycatch", | ||
"version" : "0.0.2", | ||
"version" : "0.0.3", | ||
"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
13456
286