From ca192fe208a214bbcae31865330596c80a27479f Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Sun, 22 Dec 2024 18:19:32 +0530 Subject: [PATCH] fix: string replacement in error logger --- frappe/optimizations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/optimizations.py b/frappe/optimizations.py index 0b89a83d0f88..49ae3d6e6490 100644 --- a/frappe/optimizations.py +++ b/frappe/optimizations.py @@ -180,4 +180,4 @@ def _parse_thread_siblings() -> list[tuple[int, int]] | None: import frappe logger = frappe.logger(with_more_info=True) - logger.error("failed to parse thread siblings", e) + logger.error(f"failed to parse thread siblings: {e}")