You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r = urllib3.PoolManager().request(method, endpoint, body=json.dumps(payload).encode('utf-8'), headers={'Content-Type': 'application/json'})
549
-
if r.status != 200:
550
-
raise Exception(f"There has been an issue logging action, server did not respond with a 200 response, actual status: {r.status}, response data {r.data.decode('utf-8')}. This issue will be ignored") #pylint: disable=broad-exception-raised
551
-
res, reason = 'SUCCESS', 'success'
552
-
except Exception as exc: #pylint: disable=broad-exception-caught
553
-
res, reason = 'SUCCESS', f"{exc} . This issue will be ignored"
0 commit comments