Skip to content

Commit 9f58096

Browse files
author
Kevin Hannegan
committed
update oomxl_automation sotry clients
1 parent 7423c32 commit 9f58096

File tree

138 files changed

+2496
-4562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+2496
-4562
lines changed

presalytics/client/oidc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def _handle_response(self, response):
226226
if response.status_code == 401:
227227
raise presalytics.lib.exceptions.ApiError(message="Unauthorized", status_code=401)
228228
elif response.status_code == 403:
229-
raise presalytics.lib.exceptions.ApiError(message=str(response.body), status_code=403)
229+
raise presalytics.lib.exceptions.ApiError(message="Forbidden", status_code=403)
230230
elif response.status_code == 409:
231231
logger.error("Value already exists")
232232
data = None

0 commit comments

Comments
 (0)