Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Jul 20, 2023
1 parent e90834a commit 21914c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/browser/src/integrations/linkederrors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ export class LinkedErrors implements Integration {
return event;
}

const options = client.getOptions();
applyAggregateErrorsToEvent(
exceptionFromError,
client.getOptions().stackParser,
client.getOptions().maxValueLength,
options.stackParser,
options.maxValueLength,
self._key,
self._limit,
event,
Expand Down
4 changes: 3 additions & 1 deletion packages/utils/src/aggregate-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export function applyAggregateErrorsToEvent(
event.exception.values,
originalException,
0,
), maxValueLimit);
),
maxValueLimit,
);
}
}

Expand Down

0 comments on commit 21914c0

Please sign in to comment.