summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-11-18 09:07:44 -0500
committermorpheus65535 <[email protected]>2023-11-18 09:07:44 -0500
commit3da0445dc31657f3eaa699db8aa9423ebfe2c5a6 (patch)
treeb54f6d43b94c4a8197b0a4ed8deaf5d4eddd94d2
parentc10f5cf1a7b816d27b77c55d626324b1f055df20 (diff)
downloadbazarr-3da0445dc31657f3eaa699db8aa9423ebfe2c5a6.tar.gz
bazarr-3da0445dc31657f3eaa699db8aa9423ebfe2c5a6.zip
no log: improved notification and logging on invalid subtitles
-rw-r--r--bazarr/subtitles/manual.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bazarr/subtitles/manual.py b/bazarr/subtitles/manual.py
index 05dbaba8a..3b0a6ad3e 100644
--- a/bazarr/subtitles/manual.py
+++ b/bazarr/subtitles/manual.py
@@ -189,8 +189,8 @@ def manual_download_subtitle(path, audio_language, hi, forced, subtitle, provide
return 'Error downloading Subtitles'
else:
if not subtitle.is_valid():
- logging.exception(f'BAZARR No valid Subtitles file found for this file: {path}')
- return 'No valid Subtitles file found'
+ logging.error(f"BAZARR Downloaded subtitles isn't valid for this file: {path}")
+ return "Downloaded subtitles isn't valid. Check log."
try:
chmod = int(settings.general.chmod, 8) if not sys.platform.startswith(
'win') and settings.general.chmod_enabled else None