Skip to content

Commit

Permalink
Add exception logging (#100)
Browse files Browse the repository at this point in the history
Signed-off-by: hoangtungdinh <[email protected]>
Co-authored-by: hoangtungdinh <[email protected]>
  • Loading branch information
hoangtungdinh and hoangtungdinh authored Sep 17, 2024
1 parent 215084d commit b5d28a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qc_opendrive/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ def execute_checker(
constants.BUNDLE_NAME, checker.CHECKER_ID, f"Error: {str(e)}."
)

logging.exception(f"An error occur in {checker.CHECKER_ID}.")


def run_checks(config: Configuration, result: Result) -> None:
checker_data = models.CheckerData(
Expand Down

0 comments on commit b5d28a0

Please sign in to comment.