Skip to content

Commit

Permalink
fix: Debugging to setup
Browse files Browse the repository at this point in the history
- Default is false
  • Loading branch information
GeekMasher committed Dec 4, 2024
1 parent 13141ae commit 0e2eeee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ghasreview/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

if __name__ == "__main__":
app = create_app(config)
app.run("0.0.0.0", port=9000, debug=True)
app.run("0.0.0.0", port=9000, debug=config.get("GHAS_DEBUG", False))
1 change: 1 addition & 0 deletions ghasreview/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def setup_app():
setup_logging(arguments)
app_key = validate_arguments(arguments)
config = {
"GHAS_DEBUG": arguments.debug,
# Set the route
"GITHUBAPP_ROUTE": arguments.github_app_endpoint,
# Team name
Expand Down

0 comments on commit 0e2eeee

Please sign in to comment.