Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonholdsworth committed Jul 3, 2024
1 parent 1c67496 commit ca69033
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion signbank/video/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ def upload_glossvideo_gloss(request):
else: # Otherwise use the videos filename as the title.
video.title = videofile.name
print("ATTEMPTING VIDEO SAVE")
video.save()
try:
video.save()
except Exception as exc:
print(exc)
raise exc
print("DONE VIDEO SAVE")

redirect_url = form.cleaned_data['redirect']
Expand Down

0 comments on commit ca69033

Please sign in to comment.