1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-02-22 22:10:42 +00:00

Fix for exception not managed in get_subtitles

This commit is contained in:
Louis Vézina 2018-10-10 21:37:43 -04:00
parent 27962727c7
commit 80eaa7a21e

View file

@ -48,8 +48,8 @@ def download_subtitle(path, language, hi, providers, providers_auth, sceneName,
else: else:
used_sceneName = True used_sceneName = True
video = Video.fromname(sceneName) video = Video.fromname(sceneName)
except: except Exception as e:
logging.error("Error trying to get video information.") logging.exception("Error trying to get video information for this file: " + path)
else: else:
if media_type == "movie": if media_type == "movie":
max_score = 120.0 max_score = 120.0