From 2985936ec02b45cac05e6a88d79e49a00c02ec11 Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 5 Dec 2025 02:16:23 +0000 Subject: [PATCH] done --- python/gigl/scripts/post_install.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/gigl/scripts/post_install.py b/python/gigl/scripts/post_install.py index cd13c4b0b..506e65d52 100644 --- a/python/gigl/scripts/post_install.py +++ b/python/gigl/scripts/post_install.py @@ -53,7 +53,10 @@ def main(): try: print(f"Executing {cmd}...") result = run_command_and_stream_stdout(cmd) - print("Post-install script finished running, with return code: ", result) + if result != 0: + raise RuntimeError( + f"Post-install script finished running, with return code: {result}" + ) return result except subprocess.CalledProcessError as e: