We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71beeac commit 3aa9304Copy full SHA for 3aa9304
common.py
@@ -25,7 +25,7 @@ def zoom_headers(duration: int=100) -> dict:
25
def zoom_request(method: callable, *args, **kwargs):
26
"""A minimal wrapper around requests for querying zoom API with error handling"""
27
response = method(*args, **kwargs, headers=zoom_headers())
28
- if response.status_code != 204:
+ if response.status_code > 299:
29
raise RuntimeError(response.content.decode())
30
31
if response.content:
0 commit comments