Catch all SubprocessError and OSError when converting report
The subprocess run may raises one of those exceptions. Closes #15141
This commit is contained in:
@@ -466,7 +466,7 @@ class Report(URLMixin, PoolBase):
|
||||
time.sleep(0.02 * (retry - count))
|
||||
try:
|
||||
subprocess.run(args, timeout=timeout, check=True)
|
||||
except subprocess.CalledProcessError:
|
||||
except (subprocess.SubprocessError, OSError):
|
||||
if count:
|
||||
continue
|
||||
logger.error(
|
||||
|
||||
Reference in New Issue
Block a user