Skip to content

Conversation

@raju-opti
Copy link
Contributor

Summary

  • The mechanism in place for errorNotifier ensures that error messages used with OptimizelyError get tree-shaken if errorNotifier is not used. But some promise rejection errors are part of the public api and those messages must not be tree shake. This PR makes those message non tree-shakable.

Test plan

Issues

  • FSSDK-11492

@coveralls
Copy link

coveralls commented May 2, 2025

Coverage Status

coverage: 80.715% (+0.001%) from 80.714%
when pulling f1b050b on raju/public_error_message
into a62fdc6 on master.

Copy link
Contributor

@junaed-optimizely junaed-optimizely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@raju-opti raju-opti merged commit dd66bea into master May 5, 2025
16 of 17 checks passed
@raju-opti raju-opti deleted the raju/public_error_message branch May 5, 2025 13:37
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.

4 participants