diff --git a/lib/server/parse-http.js b/lib/server/parse-http.js index c5cd9d8..cb3e481 100644 --- a/lib/server/parse-http.js +++ b/lib/server/parse-http.js @@ -49,7 +49,7 @@ function parseHttpRequest (req, opts) { }) } } else { - throw new Error('invalid action in HTTP request: ' + params.action) + throw new Error('invalid action in HTTP request: ' + req.url) } return params