You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request was aborted by express.text middleware because: Request body length does not match content-length header (I know it's more like hypothetical situation, but anyway)
But there is request completed message from pino-http because res.writableEnded is true.
Maybe it is better to change condition for defaultSuccessfulRequestMessageProvider to something like this:
Demo on codesandbox
Request was aborted by
express.text
middleware because:Request body length does not match content-length header
(I know it's more like hypothetical situation, but anyway)But there is
request completed
message from pino-http becauseres.writableEnded
istrue
.Maybe it is better to change condition for defaultSuccessfulRequestMessageProvider to something like this:
The text was updated successfully, but these errors were encountered: