iojsjufu
This commit is contained in:
parent
c31c8d82be
commit
4b765f4c4c
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ def upload_video(file):
|
||||||
|
|
||||||
resp = r.json()['data']
|
resp = r.json()['data']
|
||||||
except requests.HTTPError as e:
|
except requests.HTTPError as e:
|
||||||
|
if r: print(r.json())
|
||||||
raise UploadException(f"Status code {e.response.status_code} not in range 2**")
|
raise UploadException(f"Status code {e.response.status_code} not in range 2**")
|
||||||
except Exception:
|
except Exception:
|
||||||
raise UploadException("Error, please try again later.")
|
raise UploadException("Error, please try again later.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue