logRequestError()function
logRequestError(reason: unknown, request: Request): void
| Param | Type | |
|---|---|---|
reason | unknown | The error value to log. required |
request | Request | 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)