Skip to content

Commit 815ab7b

Browse files
committed
Merge pull request webtorrent#105 from alxhotel/master
Fix display error
2 parents 04cc1a2 + 8692e45 commit 815ab7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/server/parse-http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function parseHttpRequest (req, opts) {
4949
})
5050
}
5151
} else {
52-
throw new Error('invalid action in HTTP request: ' + params.action)
52+
throw new Error('invalid action in HTTP request: ' + req.url)
5353
}
5454

5555
return params

0 commit comments

Comments
 (0)