log status and message in morgan

connect lastmile does not forward final handler to express anymore.
otherwise, express logs using console.error()
https://github.com/expressjs/express/issues/2263
This commit is contained in:
Girish Ramakrishnan
2020-06-03 16:46:43 -07:00
parent dbba502f83
commit f5fb582f83
3 changed files with 6 additions and 5 deletions
+3 -4
View File
@@ -883,11 +883,10 @@
}
},
"connect-lastmile": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/connect-lastmile/-/connect-lastmile-1.2.2.tgz",
"integrity": "sha512-laKBrYAoYNuUYAsJQVUdmCqzi825A0GJ7YuiT8zWP0wU6s0Cv9h1eSdHvXh0DgxaVe0dQaYFufcL1htzPCJIpQ==",
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/connect-lastmile/-/connect-lastmile-2.0.0.tgz",
"integrity": "sha512-kMQlR0OVtV9x/p/8m/DhfVyB/7PnS88vg/OmHLRuPxnOhTQdsnZvovg7OiApqAaDnUKUSnevWYd9oEDFV2Bh3w==",
"requires": {
"debug": "~4.1.1",
"underscore": "^1.9.1"
}
},