Fix LOG005 use exception() within an exception handler

This commit is contained in:
Hugo van Kemenade 2023-09-09 14:04:38 +03:00
parent 507b7d519a
commit 36d0bf044b

View File

@ -126,7 +126,7 @@ def assert_image_similar(a, b, epsilon, msg=None):
if HAS_UPLOADER:
try:
url = test_image_results.upload(a, b)
logger.error("URL for test images: %s", url)
logger.exception("URL for test images: %s", url)
except Exception:
pass
raise e