customErrorMessage actually got passed 4 arguments:
|
errorMessage(req, res, error, responseTime) |
, but its ts declaration only has 3 arguments:
|
customErrorMessage?: ((req: IM, res: SR, error: Error) => string) | undefined; |
I'd like to make use of the 4th argument "responseTime" in my logging message.