Removed raising of OSError during subsync (#2584)

This commit is contained in:
JayZed 2024-08-06 14:13:38 -04:00 committed by GitHub
parent 0fc334f731
commit 2ee008b57b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,8 +97,7 @@ class SubSyncer:
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