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 2, 2022
1 parent a228925 commit 92d565a
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
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

0 comments on commit 92d565a

Please sign in to comment.