better error for failed imports
This commit is contained in:
parent
bcece622e3
commit
de818c4204
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue