Skip to content

Commit

Permalink
remove logger.error
Browse files Browse the repository at this point in the history
  • Loading branch information
billyvg committed Jul 29, 2024
1 parent 4fb3265 commit 370194f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/replay-internal/src/util/addEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,10 @@ async function _addEvent(
return await replay.eventBuffer.addEvent(eventAfterPossibleCallback);
} catch (error) {
const reason = error && error instanceof EventBufferSizeExceededError ? 'addEventSizeExceeded' : 'addEvent';
replay.handleException(error);

DEBUG_BUILD && logger.error(error);
await replay.stop({ reason });

replay.handleException(error);

const client = getClient();

if (client) {
Expand Down

0 comments on commit 370194f

Please sign in to comment.