cutter: Log when upload errors occur

This got lost in the shuffle at some point.
pull/151/head
Mike Lang 5 years ago
parent 0f4f04a998
commit 605fedeb52

@ -430,6 +430,7 @@ class Cutter(object):
else: else:
state = 'UNEDITED' state = 'UNEDITED'
kwargs = {'uploader': None} kwargs = {'uploader': None}
self.logger.exception("Upload error for job {}: {}".format(format_job(job), ex))
upload_errors.labels( upload_errors.labels(
video_channel=job.video_channel, video_channel=job.video_channel,
video_quality=job.video_quality, video_quality=job.video_quality,

Loading…
Cancel
Save