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 033f3ac commit d5a93dbCopy full SHA for d5a93db
packages/core/src/integrations/zoderrors.ts
@@ -206,7 +206,7 @@ export function applyZodErrorsToEvent(
206
}
207
208
const _zodErrorsIntegration = ((options: ZodErrorsOptions = {}) => {
209
- const limit = options.limit ?? DEFAULT_LIMIT;
+ const limit = typeof options.limit === 'undefined' ? DEFAULT_LIMIT : options.limit;
210
211
return {
212
name: INTEGRATION_NAME,
0 commit comments