From a2f3573c65beafee9646deee56e2d708c28cb59c Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi <3247106+gantoine@users.noreply.github.com> Date: Sun, 5 Jul 2026 17:11:51 -0400 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- backend/handler/scan_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/handler/scan_handler.py b/backend/handler/scan_handler.py index 29a12d584..86fcc18b7 100644 --- a/backend/handler/scan_handler.py +++ b/backend/handler/scan_handler.py @@ -847,8 +847,9 @@ async def scan_rom( if isinstance(result, BaseException): if not isinstance(result, Exception): raise result + provider = fallback.__class__.__name__ log.error( - f"Error fetching metadata for {hl(rom_attrs['fs_name'])}: {result}", + f"Error fetching {hl(provider)} metadata for {hl(rom_attrs['fs_name'])}: {result}", extra=LOGGER_MODULE_NAME, ) resolved.append(fallback)