Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
geminixiang committed Jan 6, 2025
1 parent 26fff7c commit 82df378
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pr_lint/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os

import typer
Expand Down Expand Up @@ -29,7 +30,10 @@ def main() -> None:
pr = repo.get_pull(int(pr_number))

lint(pr)
format(pr)
try:
format(pr)
except Exception as e:
logging.error(e)


if __name__ == "__main__":
Expand Down

0 comments on commit 82df378

Please sign in to comment.