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

create an error handling system that does the breadcrumb and bugsnag parts correctly #362

Merged
merged 7 commits into from
Feb 9, 2017

Conversation

lyondhill
Copy link
Contributor

fixes #360
fixes #353
fixes #326

@@ -25,7 +26,7 @@ func Logout(endpoint string) error {

// remove token from database
if err := auth.Delete(); err != nil {
return fmt.Errorf("failed to delete user authentication: %s", err.Error())
return util.Errorf("failed to delete user authentication: %s", err.Error())
Copy link
Contributor

Choose a reason for hiding this comment

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

This might be intended, but was just gonna call out that this wasn't renamed to util.ErrorAppend like the others.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nevermind, I just saw the error implementation below and this would be intentional.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oo yah that needs to be an ErrorAppend

@lyondhill lyondhill merged commit 5193da9 into master Feb 9, 2017
@lyondhill lyondhill deleted the feature/better-errors branch February 9, 2017 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants