cutter: Correctly set video id and link on failed thumbnail upload

pull/320/head
Mike Lang 2 years ago
parent 9e4e3f72a1
commit b155c53b74

@ -507,7 +507,10 @@ class Cutter(object):
).inc()
set_row(
state='MODIFIED',
upload_time=datetime.datetime.utcnow(),
last_modified=datetime.datetime.utcnow(),
video_id=video_id,
video_link=video_link,
error="Error setting thumbnail: {}".format(ex),
)
return

Loading…
Cancel
Save