Comparing version 0.2.3 to 0.2.4
@@ -27,4 +27,4 @@ // Don't rely on domains to catch errors | ||
, 'colors': { | ||
'node': false, //'white', | ||
'node_modules': false, //'cyan', | ||
'node': 'white', | ||
'node_modules': 'cyan', | ||
'default': 'red' | ||
@@ -295,5 +295,10 @@ } | ||
, i = stack.length | ||
, newStack = [] | ||
, line | ||
while (i--) { | ||
stack[i] = trycatch.format(stack[i]) | ||
line = trycatch.format(stack[i]) | ||
if (line) { | ||
newStack.push(line) | ||
} | ||
} | ||
@@ -324,2 +329,3 @@ return stack.join('\n') | ||
} | ||
return line | ||
@@ -326,0 +332,0 @@ } |
{ | ||
"name": "trycatch", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "An asynchronous domain-based 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
2
50228
16
804