Comparing version 1.0.1 to 1.1.0
@@ -24,3 +24,9 @@ /* | ||
args = Array.prototype.slice.call(arguments, 1); | ||
if (cause instanceof Error) { | ||
args = Array.prototype.slice.call(arguments, 1); | ||
} else { | ||
args = Array.prototype.slice.call(arguments, 0); | ||
cause = undefined; | ||
} | ||
tailmsg = args.length > 0 ? | ||
@@ -27,0 +33,0 @@ mod_extsprintf.sprintf.apply(null, args) : ''; |
{ | ||
"name": "verror", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "richer JavaScript errors", | ||
@@ -5,0 +5,0 @@ "main": "./lib/verror.js", |
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
22250
12
76