Catch all SubprocessError and OSError when converting report

The subprocess run may raises one of those exceptions.

Closes #15141
(grafted from 2dfbdcb8e6969bbf8d2021dab131386974cc5515)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier committed 2026-10-02 23:00:51 +02:00
1 parent 24f805356d
commit ca1a608c13
1 file changed
+1 -1
+1 -1
View File
@@ -464,7 +464,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(