From fa50040953735f1654adbea5350d577c302078c2 Mon Sep 17 00:00:00 2001 From: JayZed Date: Tue, 6 Aug 2024 14:01:51 -0400 Subject: [PATCH] Removed raising of OSError It was unnecessarily terminating a batch search. This should fix #2584. --- bazarr/subtitles/tools/subsyncer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bazarr/subtitles/tools/subsyncer.py b/bazarr/subtitles/tools/subsyncer.py index edde5c774..5c7ae38b0 100644 --- a/bazarr/subtitles/tools/subsyncer.py +++ b/bazarr/subtitles/tools/subsyncer.py @@ -97,8 +97,7 @@ def sync(self, video_path, srt_path, srt_lang, hi, forced, result = run(self.args) except Exception: logging.exception( - f'BAZARR an exception occurs during the synchronization process for this subtitles: {self.srtin}') - raise OSError + f'BAZARR an exception occurs during the synchronization process for this subtitle file: {self.srtin}') else: if settings.subsync.debug: return result