Comparing version 0.3.1 to 0.3.3
@@ -67,3 +67,4 @@ | ||
if(e) { | ||
if(typeof(e) === 'string' && e.indexOf('%') != -1 && typeof(meta) === 'string') { | ||
// if(typeof(e) === 'string' && e.indexOf('%') != -1 && (typeof(meta) === 'string' || typeof(meta) === 'number')) { | ||
if(typeof(e) === 'string' && (e.indexOf('%d') != -1 || e.indexOf('%s') != -1 || e.indexOf('%j') != -1)) { | ||
e = util.format.apply(null, Array.prototype.slice.call(arguments, 0)); | ||
@@ -70,0 +71,0 @@ meta = null; |
{ | ||
"author": "Juraj Vitko (@ypocat)", | ||
"author": "Juraj Vitko (ypocat.com)", | ||
"name": "laeh2", | ||
"description": "Lightweight Asynchronous Error Handling v2", | ||
"keywords": [ "error", "handling", "asynchronous" ], | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"homepage": "http://github.com/ypocat/laeh2", | ||
@@ -8,0 +8,0 @@ "repository": { |
21200
270