logRequestError()function

logRequestError(reason: unknown, request: Request): void
ParamType
reasonunknown
The error value to log. required
requestRequest
The originating Request, included in the log for context. required
Return
void
Nothing.

Log an Error from a Request to the console.

Examples

logRequestError(error, request)