Skip to content

Commit 526c671

Browse files
authored
ref(core): Make event processing logs warnings
It can be confusing to users why event processing errors log out as errors. Let's bump this down to warnings instead - which better represent how actionable most of these thrown errors are.
1 parent ebc938a commit 526c671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/baseclient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
541541
return finalEvent.event_id;
542542
},
543543
reason => {
544-
IS_DEBUG_BUILD && logger.error(reason);
544+
IS_DEBUG_BUILD && logger.warn(reason);
545545
return undefined;
546546
},
547547
);

0 commit comments

Comments
 (0)