Comparing version 3.4.2 to 3.4.3
{ | ||
"name": "clues", | ||
"version": "3.4.2", | ||
"version": "3.4.3", | ||
"description": "Lightweight logic tree solver using promises.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -50,5 +50,11 @@ var clues = require('../clues'), | ||
err.status = 500; | ||
if (typeof options.logger === 'function') | ||
options.logger(err); | ||
if (!options.debug) { | ||
err.message = 'Internal Error'; | ||
delete err.stack; | ||
err = { | ||
error : true, | ||
message : 'Internal Error', | ||
status : 500 | ||
}; | ||
} | ||
@@ -55,0 +61,0 @@ } |
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
79425
1497