Skip to content

Commit

Permalink
fix(node): Add debug logging for node checkin (#8131)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed May 16, 2023
1 parent 0eb81bc commit 374f6a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/node/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ export class NodeClient extends BaseClient<NodeClientOptions> {
}

const envelope = createCheckInEnvelope(serializedCheckIn, this.getSdkMetadata(), tunnel, this.getDsn());

__DEBUG_BUILD__ && logger.info('Sending checkin:', checkIn.monitorSlug, checkIn.status);
void this._sendEnvelope(envelope);
return id;
}
Expand Down

0 comments on commit 374f6a9

Please sign in to comment.