Skip to content

Commit

Permalink
Ensure errors are surfaced when generation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Jul 30, 2024
1 parent e083f0a commit eaa9b99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def main(argv: Sequence[str]) -> None:
LOGGER.info(f"Plugin {plugin} completed.")
except Exception as e:
LOGGER.error(f"Error running plugin {plugin}:", exc_info=e)
raise e


if __name__ == "__main__":
Expand Down

0 comments on commit eaa9b99

Please sign in to comment.