fix(core): cut user-facing errors and warnings to one line

This commit is contained in:
imSp4rky
2026-10-23 20:23:05 -06:00
parent dfc99783b5
commit 83514d12fe
45 changed files with 210 additions and 415 deletions
+1 -2
View File
@@ -1128,8 +1128,7 @@ class Subtitle(Track):
except (IOError, OSError) as e:
if "is not valid subtitle file" in str(e):
log = logging.getLogger("Subtitle")
log.warning(f"Failed to strip SDH from {self.path.name}: {e}")
log.warning("Continuing without SDH stripping for this subtitle")
log.warning(f"Failed to strip SDH from {self.path.name}, keeping it as is: {e}")
else:
raise