We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 199809e commit d1acab5Copy full SHA for d1acab5
src/macaron/provenance/provenance_verifier.py
@@ -334,7 +334,10 @@ def _verify_slsa(
334
335
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as error:
336
logger.error(error)
337
- errors.append(error.output.decode("utf-8"))
+ if error.output:
338
+ errors.append(error.output.decode("utf-8"))
339
+ else:
340
+ errors.append(f"Verification failed: {type(error)}")
341
except OSError as error:
342
343
errors.append(str(error))
0 commit comments