Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup application logging #27

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Ensure main returns a non-zero exit code upon errors
  • Loading branch information
robomics committed Dec 9, 2024
commit 28f12815cfbbe4afd8b32fb65664646ebb72878b
1 change: 1 addition & 0 deletions src/stripepy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def main(args: Union[List[str], None] = None):
except RuntimeError as e:
logger = structlog.get_logger()
logger.exception(e)
sys.exit(1)


if __name__ == "__main__":
Expand Down
Loading