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
Provide a link to the affected event from your Sentry account
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node(raven for node)
other:
Version:
5.12.3
Description
The function "parseRequest" from "sentry-javascript/packages/node/src/handlers.ts" supports for options -> request a boolean or string array. But the "requestHandler" function in the same file, only supports boolean for options -> request. Is there a reason why the "requestHandler" doesn't include the string array in the typings ?
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
Description
The function "parseRequest" from "sentry-javascript/packages/node/src/handlers.ts" supports for options -> request a boolean or string array. But the "requestHandler" function in the same file, only supports boolean for options -> request. Is there a reason why the "requestHandler" doesn't include the string array in the typings ?
export function parseRequest( event: Event, req: { [key: string]: any; }, options?: { request?: boolean | string[]; },
export function requestHandler(options?: { request?: boolean; }): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void {
The text was updated successfully, but these errors were encountered: