Add log.warning when a channel fails to refresh.

This commit is contained in:
voussoir 2020-11-20 16:24:03 -08:00
parent 8de342b054
commit 2bfc1a00d4

View file

@ -222,6 +222,7 @@ class YCDLDBChannelMixin:
channel.refresh(force=force, commit=commit) channel.refresh(force=force, commit=commit)
except Exception as exc: except Exception as exc:
if skip_failures: if skip_failures:
self.log.warning(exc)
excs.append(exc) excs.append(exc)
else: else:
raise raise