mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-27 03:15:08 +00:00
fix(core): cut user-facing errors and warnings to one line
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user