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: Use a more engineering-oriented error code wrapper #55

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

Conversation

lyt122
Copy link
Contributor

@lyt122 lyt122 commented Dec 27, 2023

Use "github.com/pkg/errors" to wrap error. In a word, If a function doesn't need to return an error, print the error and stack information with logrus, otherwise wrap the error and append some information.

@CocaineCong
Copy link
Owner

so many changes... can you cut this big pr into small pr?

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