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

refactor(recovery): smart error comparison #4142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zeek0x
Copy link

@zeek0x zeek0x commented Jan 18, 2025

Hi :)

While casually looking through the recover.go code, I noticed some logic that identifies errors by matching strings within the error message. Switching to direct error comparisons can improve the maintainability of the code.

@zeek0x zeek0x force-pushed the refactor/smart-error-comparison branch from d569590 to b9bb8d1 Compare January 19, 2025 03:20
@zeek0x
Copy link
Author

zeek0x commented Jan 19, 2025

I noticed a missed variable name rename, so I fixed it and force-pushed 🙇

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.

2 participants