Comparing version 1.1.2 to 1.2.0
@@ -62,2 +62,4 @@ /* vim: set softtabstop=4 ts=4 sw=4 expandtab tw=120 syntax=javascript: */ | ||
opts.data = msgOrOpts.data || opts.data; | ||
if (!_.isUndefined(msgOrOpts.captureStack)) { opts.captureStack = msgOrOpts.captureStack; } | ||
if (!_.isUndefined(msgOrOpts.logError)) { opts.logError = msgOrOpts.logError; } | ||
} else { | ||
@@ -64,0 +66,0 @@ opts.message = msgOrOpts || opts.message || opts.msg; |
@@ -5,3 +5,3 @@ { | ||
"repository": "https://github.com/gradecam/nodejs-apperror", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "A customizable application error generator.", | ||
@@ -8,0 +8,0 @@ "main": "apperror.js", |
8137
66