Skip to content

Commit

Permalink
Fix 02-python_operators_with_dependencies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PProfizi committed Oct 16, 2023
1 parent 02f1981 commit 50d2081
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,10 @@
import subprocess

process = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if process.stderr:
if process.returncode != 0 and process.stderr:
raise RuntimeError(
"Installing pygltf in a virtual environment failed with error:\n"
+ f"return code = {process.returncode}\n"
+ process.stderr.decode()
+ "\n\n and log:\n"
+ process.stdout.decode()
Expand Down

0 comments on commit 50d2081

Please sign in to comment.