From d37bf34eaab059b537ddb82d6488b2df096cf54f Mon Sep 17 00:00:00 2001 From: Anita Caron Date: Mon, 14 Oct 2024 21:44:44 +0100 Subject: [PATCH] Remove redundant exception argument in logging.exception Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- util/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/lib.py b/util/lib.py index b880d25..916abb4 100644 --- a/util/lib.py +++ b/util/lib.py @@ -405,7 +405,7 @@ def robot_prepare_ontology( try: check_call(callstring) except subprocess.CalledProcessError as e: - logging.exception("Preparing %s for dashboard failed: %s", o_path, str(e)) + logging.exception("Preparing %s for dashboard failed", o_path) def count_up(dictionary, value): if value not in dictionary: