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: Improve error messages #51

Merged
merged 9 commits into from
Feb 24, 2020
Merged

feat: Improve error messages #51

merged 9 commits into from
Feb 24, 2020

Conversation

w3st3ry
Copy link
Contributor

@w3st3ry w3st3ry commented Dec 17, 2019

Related to #42

Signed-off-by: Valentin Pichard [email protected]

@w3st3ry w3st3ry added enhancement New feature or request 🚧 WIP 🚧 Work in progress label labels Dec 17, 2019
@w3st3ry w3st3ry self-assigned this Dec 17, 2019
@ovh ovh deleted a comment from ovh-cds Dec 18, 2019
@geoffreybauduin
Copy link
Member

Just a suggestion but it would be nice for your APIs to use the %w flag inside fmt.Errorf that has been introduced with go 1.13. See https://blog.golang.org/go1.13-errors

@w3st3ry w3st3ry added 🚧 WIP 🚧 Work in progress label and removed 🚧 WIP 🚧 Work in progress label labels Feb 24, 2020
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
Signed-off-by: Valentin Pichard <[email protected]>
@w3st3ry
Copy link
Contributor Author

w3st3ry commented Feb 24, 2020

@geoffreybauduin at this team we still compiling with go1.12. We gonna do this change in the future.

@ovh ovh deleted a comment from ovh-cds Feb 24, 2020
@w3st3ry w3st3ry merged commit b7516dc into master Feb 24, 2020
@w3st3ry w3st3ry deleted the improve-error-msgs branch February 24, 2020 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 🚧 WIP 🚧 Work in progress label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants