diff --git a/start/index.js b/start/index.js index 337241a..1311201 100644 --- a/start/index.js +++ b/start/index.js @@ -97,7 +97,7 @@ module.exports = async function start(options) { // no stacktraces leaked to user app.use(function (err, req, res, next) { res.status(err.status || 500) - res.json(err.message) + res.send(err.message) }) }