Skip to content

Commit

Permalink
fix and add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsterkatie committed Nov 3, 2022
1 parent 46c76e4 commit ad5a70e
Show file tree
Hide file tree
Showing 5 changed files with 321 additions and 51 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
.then(prepared => {
if (prepared === null) {
this.recordDroppedEvent('event_processor', event.type || 'error');
throw new SentryError('An event processor returned null, will not send event.', 'log');
throw new SentryError('An event processor returned `null`, will not send event.', 'log');
}

const isInternalException = hint.data && (hint.data as { __sentry__: boolean }).__sentry__ === true;
Expand Down
Loading

0 comments on commit ad5a70e

Please sign in to comment.