gsg-typeix
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -315,2 +315,5 @@ "use strict"; | ||
response = yield this.processError(response, false); | ||
this.response.writeHead(this.statusCode, headers); | ||
this.response.write(response); | ||
this.response.end(); | ||
break; | ||
@@ -383,3 +386,6 @@ case RenderType.REDIRECT: | ||
.render(data, RenderType.CUSTOM_ERROR_HANDLER) | ||
.catch(() => this.render(data, RenderType.DEFAULT_ERROR_HANDLER)); | ||
.catch((error) => { | ||
this.logger.error("HttpRequestResolver.handleError: CUSTOM_ERROR_HANDLER", error); | ||
this.render(data, RenderType.DEFAULT_ERROR_HANDLER); | ||
}); | ||
} | ||
@@ -386,0 +392,0 @@ }; |
@@ -0,1 +1,4 @@ | ||
## 3.0.4 | ||
- Bug fix with HTTP error handling | ||
## 3.0.1-rc.0 | ||
@@ -2,0 +5,0 @@ - Fixed issue with HTTP error handling |
{ | ||
"name": "gsg-typeix", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "aws-lambda": "^0.1.2", |
Sorry, the diff of this file is not supported yet
438949
10597