Skip to content

Commit

Permalink
Merge pull request #497 from rd4398/fix-error-msg-bug
Browse files Browse the repository at this point in the history
Bug Fix: terminate when error is encountered
  • Loading branch information
mergify[bot] authored Nov 7, 2024
2 parents c725d86 + f2660fc commit 1a859ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fromager/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import logging
import pathlib
import sys

import click

Expand Down Expand Up @@ -250,6 +251,7 @@ def invoke_main() -> None:
logger.error(f"ERROR: {err}")
if _DEBUG:
raise
sys.exit(1)


if __name__ == "__main__":
Expand Down

0 comments on commit 1a859ea

Please sign in to comment.