Comparing version 0.12.0 to 0.12.1
@@ -59,5 +59,5 @@ const | ||
// TODO sha1 of host+time+name to identify app | ||
this._autoParseBody = opts.autoParseBody || false; | ||
this._autoParseBody = opts.autoParseBody || false; | ||
// TODO remove _alwaysRebuildAPI on 0.13.0 | ||
this._alwaysRebuildAPI = opts.alwaysRebuildAPI || false; | ||
@@ -80,2 +80,3 @@ | ||
this.conf.log = this.conf.log ?? {}; | ||
if(this.conf.log) | ||
@@ -110,3 +111,4 @@ this.conf.log.defaults = { app: this._name }; | ||
catch(err){ | ||
this.state = 'standby'; | ||
this.state = 'stuck'; | ||
await this.stop(); | ||
throw err; | ||
@@ -113,0 +115,0 @@ } |
{ | ||
"name": "nodecaf", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "Nodecaf is a light framework for developing RESTful Apps in a quick and convenient manner.", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
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
37895
566