add debug info
This commit is contained in:
parent
1037094f28
commit
d868b59e78
1 changed files with 5 additions and 0 deletions
|
@ -86,6 +86,11 @@ class GetPeertubeVideos:
|
|||
len(attachments)
|
||||
)
|
||||
for attachment in attachments:
|
||||
if size_field not in attachment:
|
||||
self._log.error(
|
||||
"Attachment without file size. %s",
|
||||
attachment
|
||||
)
|
||||
if attachment[size_field] > selected[size_field]:
|
||||
selected = attachment
|
||||
if 'url' not in selected:
|
||||
|
|
Loading…
Reference in a new issue