Comparing version 1.0.9 to 1.0.10
@@ -74,7 +74,15 @@ // Copyright Teleportd | ||
error: function(err) { | ||
log('*********************************************', false, true); | ||
log('ERROR: ' + err.message); | ||
log('*********************************************', false, true); | ||
log(err.stack); | ||
log('---------------------------------------------', false, true); | ||
if(typeof err === 'object') { | ||
log('*********************************************', false, true); | ||
log('ERROR: ' + err.message); | ||
log('*********************************************', false, true); | ||
log(err.stack); | ||
log('---------------------------------------------', false, true); | ||
} | ||
else { | ||
log('*********************************************', false, true); | ||
log('ERROR: ' + JSON.stringify(err)); | ||
log('*********************************************', false, true); | ||
log('---------------------------------------------', false, true); | ||
} | ||
}, | ||
@@ -81,0 +89,0 @@ debug: function(str) { |
{ | ||
"name": "fwk", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Simple JS framework for node.js", | ||
@@ -5,0 +5,0 @@ "keywords": ["fwk", "node"], |
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
49562
1474