Skip to content

Commit

Permalink
Add exception to logging
Browse files Browse the repository at this point in the history
Signed-off-by: hoangtungdinh <[email protected]>
  • Loading branch information
hoangtungdinh committed Sep 17, 2024
1 parent 55e0cd5 commit 87287cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qc_otx/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:
root = etree.parse(config.get_config_param("InputFile"))
Expand Down

0 comments on commit 87287cd

Please sign in to comment.