Skip to content

Commit

Permalink
Bug Fix: terminate when error is encountered
Browse files Browse the repository at this point in the history
  • Loading branch information
rd4398 committed Nov 7, 2024
1 parent c725d86 commit f2660fc
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 f2660fc

Please sign in to comment.