diff --git a/gen-wiki.py b/gen-wiki.py index 1369f17..2c11c57 100644 --- a/gen-wiki.py +++ b/gen-wiki.py @@ -62,8 +62,7 @@ def run_terragrunt(directory): print(f"Directory = ", directory) return result.stdout except subprocess.CalledProcessError as e: - print(f"Result", result.stdout) - print(f"Error: ", e) + print(f"Error: ", e.stdout) return None def process_directory(directory, config):