Skip to content

Conversation

@pteich
Copy link
Contributor

@pteich pteich commented Dec 2, 2025

This PR adds a convenient wrapper sentry.Wrap for function calls that recovers from panics that might occur inside the function and sends them to Sentry with a tag "panic" added. It's also possible to provide additional tags and extras.
There is also a sentry.Go wrapper that does the same for asynchronous usage.

On-behalf-of: SAP [email protected]

@pteich pteich requested review from a team as code owners December 2, 2025 08:09
@CLAassistant
Copy link

CLAassistant commented Dec 2, 2025

CLA assistant check
All committers have signed the CLA.

@nuromirg nuromirg merged commit ac67d5e into main Dec 2, 2025
10 checks passed
@nuromirg nuromirg deleted the feat/sentry-recover-wrapper branch December 2, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants