Skip to content

Conversation

@naji247
Copy link
Member

@naji247 naji247 commented Dec 13, 2025

Summary

  • When the user-supplied identify function throws an error, log the error instead of publishing an identify error event
  • This prevents noisy/misleading analytics data from user code issues
  • Updated log level from "Warning" to "Error" for clarity

Test plan

  • Updated existing identify error tests to verify no event is published
  • Updated error-capture integration test to verify behavior
  • All existing tests pass

When the user-supplied identify function throws an error, we should
only log the error rather than publishing an identify error event.
This prevents noisy/misleading analytics data from user code issues.

- Remove error event publishing from handleIdentify catch block
- Update error-capture, identify, and report-missing tests
- Change log level from "Warning" to "Error" for clarity
@naji247 naji247 requested a review from kashishhora December 13, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants