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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[td] log error instead of throwing #3

Merged
merged 1 commit into from
Feb 17, 2022
Merged

[td] log error instead of throwing #3

merged 1 commit into from
Feb 17, 2022

Conversation

Sherlouk
Copy link
Contributor

In clients whom intentionally decide to not initialise TelemetryDeck (for example on non-produciton environments, unit tests, etc), they would have to add a wrapper around all the interactions in order to avoid a situation which would throw 500s when used in requests.

This wasn't intentional, and the error didn't seem relevant enough to warrant a reaction by the client. If you've not registered - it's probably for a reason.

So we've replaced it with a log instead. May consider making it a one-off, will consider options.

In clients whom intentionally decide to not initialise TelemetryDeck (for example on non-produciton environments, unit tests, etc), they would have to add a wrapper around all the interactions in order to avoid a situation which would throw 500s when used in requests.

This wasn't intentional, and the error didn't seem relevant enough to warrant a reaction by the client. If you've not registered - it's probably for a reason.

So we've replaced it with a log instead. May consider making it a one-off, will consider options.
@Sherlouk Sherlouk enabled auto-merge (rebase) February 17, 2022 19:49
@Sherlouk Sherlouk merged commit 8fd9cc5 into main Feb 17, 2022
@Sherlouk Sherlouk deleted the logError branch February 17, 2022 19:57
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

1 participant