diff --git a/src/kontrol/foundry.py b/src/kontrol/foundry.py index 12ecd5b12..73c89ca7e 100644 --- a/src/kontrol/foundry.py +++ b/src/kontrol/foundry.py @@ -421,7 +421,7 @@ def build(self, metadata: bool) -> None: "Error: 'forge' command not found. Please ensure that 'forge' is installed and added to your PATH." ) from err except CalledProcessError as err: - raise RuntimeError("Couldn't forge build!") from err + raise RuntimeError(f"Couldn't forge build! {err.stderr.strip()}") from err @cached_property def all_tests(self) -> list[str]: