From 07d01fc33b6520ba6966fb6f7c033a9126ab4ce1 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Thu, 20 Jul 2023 22:08:31 -0700 Subject: [PATCH] fixing tests. --- backend/pkg/models/source_credential.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pkg/models/source_credential.go b/backend/pkg/models/source_credential.go index 9061c9f0c..1c24096c2 100644 --- a/backend/pkg/models/source_credential.go +++ b/backend/pkg/models/source_credential.go @@ -195,7 +195,7 @@ func (s *SourceCredential) RefreshDynamicClientAccessToken() error { var registrationTokenResponseBytes ClientRegistrationTokenResponse err = json.NewDecoder(tokenResp.Body).Decode(®istrationTokenResponseBytes) if err != nil { - return fmt.Errorf("an error occurred while parsing dynamic client token response", err) + return fmt.Errorf("an error occurred while parsing dynamic client token response: %v", err) } //update the source credential with the new access token