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

feat: Log panic stack #985

Merged
merged 1 commit into from Apr 14, 2022
Merged

feat: Log panic stack #985

merged 1 commit into from Apr 14, 2022

Conversation

erichulburd
Copy link
Contributor

I've run into a couple of nil pointer exceptions that would have benefited from a stack reference. This simple adds the stack trace to the recovery error.

@casbin-bot
Copy link
Member

@tangyang9464 @closetool @sagilio please review

@CLAassistant
Copy link

CLAassistant commented Apr 12, 2022

CLA assistant check
All committers have signed the CLA.

@erichulburd erichulburd changed the title Log panic stack feat: Log panic stack Apr 12, 2022
@hsluoyz
Copy link
Member

hsluoyz commented Apr 12, 2022

@tangyang9464 plz review

Copy link
Member

@tangyang9464 tangyang9464 left a comment

Choose a reason for hiding this comment

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

lgtm

@hsluoyz hsluoyz merged commit 54eba5e into casbin:master Apr 14, 2022
@github-actions
Copy link

🎉 This PR is included in version 2.44.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@erichulburd erichulburd deleted the log_panic_stack branch April 14, 2022 16:21
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.

None yet

5 participants