Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fix exception when using wrong tracing parameters #2173

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

yannickadam
Copy link
Contributor

Motivation

When using wrong parameter types in allowedTracingUrls, such as:
allowedTracingUrls: [42]
The SDK properly warns that this parameter is invalid and will be ignored. However, it fails later when serializing parameters for telemetry, and stops initializing with no warning.

Changes

Add a check to ensure the parameter can be parsed for telemetry.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@yannickadam yannickadam requested a review from a team as a code owner April 17, 2023 09:53
@yannickadam yannickadam merged commit af0787a into main Apr 18, 2023
2 checks passed
@yannickadam yannickadam deleted the yannick.adam/fix_tracing_telemetry branch April 18, 2023 08:28
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.

None yet

3 participants