Skip to content

Commit

Permalink
adding error print
Browse files Browse the repository at this point in the history
  • Loading branch information
nolan committed Jul 12, 2024
1 parent d7f1afa commit 1b87aba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gen-wiki.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1b87aba

Please sign in to comment.