master
fireworks88 2021-09-05 19:19:56 +02:00
parent 9cb02e284b
commit de2f1315c9
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ def upload_video(file):
resp = r.json()['data']
except requests.HTTPError as e:
if r: print(r.json())
raise UploadException(f"Status code {e.response.status_code} not in range 2**")
except Exception:
raise UploadException("Error, please try again later.")