Skip to content

Commit d37bf34

Browse files
Remove redundant exception argument in logging.exception
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent eeab021 commit d37bf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/lib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def robot_prepare_ontology(
405405
try:
406406
check_call(callstring)
407407
except subprocess.CalledProcessError as e:
408-
logging.exception("Preparing %s for dashboard failed: %s", o_path, str(e))
408+
logging.exception("Preparing %s for dashboard failed", o_path)
409409

410410
def count_up(dictionary, value):
411411
if value not in dictionary:

0 commit comments

Comments
 (0)