better error for failed imports

This commit is contained in:
j 2023-11-20 10:19:45 +00:00
parent bcece622e3
commit de818c4204

View file

@ -205,6 +205,7 @@ def download(item_id, url, referer=None):
f.extract_stream()
status = True
else:
logger.error("failed to import %s file already exists %s", url, oshash)
status = 'file exists'
if len(parts) == 1:
add_subtitles(f.item, media, tmp)