Display webex oauth errors
Build, push image, and notify Watchtower / build-image (push) Successful in 41s
Build, push image, and notify Watchtower / notify (push) Successful in 11s

This commit is contained in:
2026-08-17 14:53:37 +02:00
parent 44b4c8034f
commit 5ae2dc1023
2 changed files with 25 additions and 2 deletions
+6 -1
View File
@@ -50,7 +50,12 @@ class WebexManager:
"redirect_uri": self.redirect_uri
}
res = requests.post(f"{self.base_url}/access_token", data=payload)
res.raise_for_status()
if not res.ok:
# Print or log the exact Webex error response
print(f"Webex Error Details ({res.status_code}): {res.text}")
res.raise_for_status()
return self.save_tokens(res.json())
def refresh_token(self, refresh_token: str) -> str: