extsprintf
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -158,9 +158,10 @@ /* | ||
if (!ex.cause) | ||
return (ret); | ||
if (ex.cause && typeof (ex.cause) === 'function') { | ||
var cex = ex.cause(); | ||
if (cex) { | ||
ret += '\nCaused by: ' + dumpException(cex); | ||
} | ||
} | ||
for (ex = ex.cause(); ex; ex = ex.cause ? ex.cause() : null) | ||
ret += '\nCaused by: ' + dumpException(ex); | ||
return (ret); | ||
} |
{ | ||
"name": "extsprintf", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "extended POSIX-style sprintf", | ||
@@ -5,0 +5,0 @@ "main": "./lib/extsprintf.js", |
23519
139