@adonisjs/http-server
Advanced tools
Comparing version
@@ -20,4 +20,5 @@ "use strict"; | ||
async handle(error, ctx) { | ||
ctx.response.safeStatus(error.status || 500); | ||
if (!this._resolvedErrorHandler) { | ||
ctx.response.status(error.status || 500).send(error.message); | ||
ctx.response.send(error.message); | ||
return; | ||
@@ -24,0 +25,0 @@ } |
{ | ||
"name": "@adonisjs/http-server", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "Extracted copy of AdonisJs HTTP server along with it's router", | ||
@@ -5,0 +5,0 @@ "files": [ |
100416
0.03%2483
0.04%