Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Mar 8, 2022
1 parent 1495dda commit f3cf8a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ unreleased
* deps: [email protected]
- deps: [email protected]
- deps: [email protected]
* deps: [email protected]

0.17.2 / 2021-12-11
===================
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ SendStream.prototype.error = function error (status, err) {
}

var res = this.res
var msg = statuses[status] || String(status)
var msg = statuses.message[status] || String(status)
var doc = createHtmlDocument('Error', escapeHtml(msg))

// clear existing headers
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"ms": "2.1.3",
"on-finished": "~2.3.0",
"range-parser": "~1.2.1",
"statuses": "~1.5.0"
"statuses": "2.0.1"
},
"devDependencies": {
"after": "0.8.2",
Expand Down

0 comments on commit f3cf8a9

Please sign in to comment.