We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60951f4 commit b6f4f2dCopy full SHA for b6f4f2d
packages/browser/src/helpers.ts
@@ -106,7 +106,7 @@ export function wrap<T extends WrappableFunction, NonFunction>(
106
const sentryWrapped = function (this: unknown, ...args: unknown[]): unknown {
107
try {
108
// Also wrap arguments that are themselves functions
109
- const wrappedArguments = args.map((arg: unknown) => (typeof arg === 'function' ? wrap(arg, options) : arg));
+ const wrappedArguments = args.map((arg) => wrap(arg, options));
110
111
// Attempt to invoke user-land function
112
// NOTE: If you are a Sentry user, and you are seeing this stack frame, it
0 commit comments