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

when throw a panic in business func (with WithGlobalTx), can it print the panic and stack? #608

Open
576470954 opened this issue Sep 13, 2023 · 0 comments

Comments

@576470954
Copy link
Contributor

What would you like to be added:
print panic and stack when panic occur in business func
in tm.WithGlobalTx func
image

Why is this needed:
because when i write something wrong, and panic happened, and the log only show it is rollback but don't know why.
I need to debug to get the reason. log will like this :
image

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

No branches or pull requests

1 participant