diff --git a/lib/spserver.js b/lib/spserver.js index d4523fb..fa3e440 100644 --- a/lib/spserver.js +++ b/lib/spserver.js @@ -98,7 +98,7 @@ var spserver = function (settings) { logger.error(err); res.writeHead(err.status, err.headers); - res.end(); + res.end(err.message); } } });