Comparing version 0.1.0-beta-30 to 0.1.0-beta-31
@@ -418,2 +418,4 @@ "use strict"; | ||
} | ||
// log error request | ||
logger.log('Request.error', this.url, this.statusCode, this.id, this.getHeader('content-type'), response); | ||
// set status codes | ||
@@ -491,7 +493,3 @@ if (response.code) { | ||
if ((response instanceof Error) || this.isERROR || this.statusCode === 500) { | ||
logger.print('Request.error', this.statusCode, this.id, this.getHeader('content-type'), response); | ||
} else { | ||
logger.print('Request.render', this.statusCode, this.id, this.getHeader('content-type')); | ||
} | ||
logger.print('Request.render', this.url, this.statusCode, this.id, this.getHeader('content-type')); | ||
@@ -498,0 +496,0 @@ this.isRendered = true; |
@@ -5,3 +5,3 @@ { | ||
"description": "Powerful lightweight mvc framework for nodejs", | ||
"version": "0.1.0-beta-30", | ||
"version": "0.1.0-beta-31", | ||
"dependencies" : { | ||
@@ -8,0 +8,0 @@ "mongoose": "3.8.x", |
125156
4023