From 5c905021f5ffe8947864b9bdeea0dbb26495a15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Fri, 13 Sep 2019 21:56:52 -0400 Subject: [PATCH] Added better logging of exception while getting video information from a file. --- bazarr/get_subtitle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index a12fadd92..dbbc57b28 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -74,7 +74,7 @@ def get_video(path, title, sceneName, use_scenename, providers=None, media_type= logging.debug('BAZARR is using those video object properties: %s', vars(video)) return video - except: + except Exception as e: logging.exception("BAZARR Error trying to get video information for this file: " + path)