diff --git a/.gitignore b/.gitignore index 2ccbe46..3d3c4bd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /node_modules/ +.vscode/launch.json diff --git a/index.js b/index.js index f6afe0e..30926a5 100644 --- a/index.js +++ b/index.js @@ -51,7 +51,7 @@ app.all('*', function (req, res) { console.log('') res.writeHead(400, { 'Content-Type': 'text/plain' }) - res.end() + res.end(ex.message) } })