Skip to content

Commit

Permalink
Removed raising of OSError during subsync (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaiZed authored Aug 6, 2024
1 parent 0fc334f commit 2ee008b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bazarr/subtitles/tools/subsyncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ee008b

Please sign in to comment.