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

Catch exceptions raised whilst sending metadata #134

Merged
merged 2 commits into from
Dec 9, 2019

Conversation

asgrim
Copy link
Collaborator

@asgrim asgrim commented Dec 9, 2019

If we catch all exceptions raised whilst gathering/sending metadata, we can log it and continue to send the actual request. Exceptions should not be bubbling up, especially for something trivial.

@asgrim asgrim added the bug Something isn't working label Dec 9, 2019
@asgrim asgrim added this to the 2.0.1 milestone Dec 9, 2019
@asgrim asgrim requested a review from cschneid December 9, 2019 08:58
Copy link
Contributor

@cschneid cschneid left a comment

Choose a reason for hiding this comment

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

Apparent typo, looks good otherwise.

tests/Unit/AgentTest.php Outdated Show resolved Hide resolved
@cschneid cschneid merged commit 516aaf6 into master Dec 9, 2019
@asgrim asgrim deleted the catch-metadata-exceptions branch December 9, 2019 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants