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 and log exceptions in the interval timer function #1145

Merged

Conversation

beniwohli
Copy link
Contributor

Instead of letting the thread die, we log the exception with
a stack trace to ease debugging.

Specifically, we have a hard to debug exception in the configuration updater,
and need a stack trace to debug the issue. But this should be helpful in other
cases, too.

Instead of letting the thread die, we log the exception with
a stack trace to ease debugging.
@apmmachine
Copy link
Contributor

apmmachine commented Jun 2, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Branch indexing

  • Start Time: 2021-06-02T16:27:14.890+0000

  • Duration: 29 min 43 sec

  • Commit: e5107df

Test stats 🧪

Test Results
Failed 0
Passed 9489
Skipped 8766
Total 18255

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 9489
Skipped 8766
Total 18255

@beniwohli beniwohli merged commit 383a088 into elastic:master Jun 3, 2021
@beniwohli beniwohli deleted the interval-timer-exception-handling branch June 3, 2021 11:51
beniwohli added a commit to beniwohli/apm-agent-python that referenced this pull request Sep 14, 2021
Instead of letting the thread die, we log the exception with
a stack trace to ease debugging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants