From 02e07d5f78f6439eca8b904d38522e63422ba5dc Mon Sep 17 00:00:00 2001 From: Roland <33993199+rolznz@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:25:05 +0700 Subject: [PATCH] fix: do not mask original reason for error --- alby/alby_oauth_service.go | 1 - 1 file changed, 1 deletion(-) diff --git a/alby/alby_oauth_service.go b/alby/alby_oauth_service.go index 9cdd0bf5..13bb554e 100644 --- a/alby/alby_oauth_service.go +++ b/alby/alby_oauth_service.go @@ -131,7 +131,6 @@ func (svc *albyOAuthService) CallbackHandler(ctx context.Context, code string, l err := svc.cfg.SetUpdate(accessTokenKey, "", "") if err != nil { logger.Logger.WithError(err).Error("Failed to set user access token") - return err } return errors.New("Alby Hub is connected to a different alby account. Please log out of your Alby Account at getalby.com and try again.") }