diff options
| author | Dan Engelbrecht <[email protected]> | 2025-02-12 08:58:52 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-02-12 08:58:52 +0100 |
| commit | d39724eb644cab4ec5bbf19a703cb770b34e68c4 (patch) | |
| tree | e7263163d6bed8ba7f5cd05822f6993a26907b01 /src/zenhttp/httpclientauth.cpp | |
| parent | Fix workspace shares reply array (#280) (diff) | |
| download | zen-d39724eb644cab4ec5bbf19a703cb770b34e68c4.tar.xz zen-d39724eb644cab4ec5bbf19a703cb770b34e68c4.zip | |
improved builds api interface in jupiter (#281)
* multipart upload/download iterface in jupiter
* review fixes
Diffstat (limited to 'src/zenhttp/httpclientauth.cpp')
| -rw-r--r-- | src/zenhttp/httpclientauth.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenhttp/httpclientauth.cpp b/src/zenhttp/httpclientauth.cpp index 04ac2ad3f..7fb3224f1 100644 --- a/src/zenhttp/httpclientauth.cpp +++ b/src/zenhttp/httpclientauth.cpp @@ -2,6 +2,7 @@ #include <zenhttp/httpclientauth.h> +#include <zencore/logging.h> #include <zenhttp/auth/authmgr.h> ZEN_THIRD_PARTY_INCLUDES_START @@ -41,6 +42,7 @@ namespace zen { namespace httpclientauth { if (Response.error || Response.status_code != 200) { + ZEN_WARN("Failed fetching OAuth access token {}. Reason: '{}'", OAuthParams.Url, Response.reason); return HttpClientAccessToken{}; } @@ -49,6 +51,7 @@ namespace zen { namespace httpclientauth { if (JsonError.empty() == false) { + ZEN_WARN("Unable to parse OAuth json response from {}. Reason: '{}'", OAuthParams.Url, JsonError); return HttpClientAccessToken{}; } |