fix(backend): use lazy %s formatting in logger.warning calls

This commit is contained in:
Zamil Majdy
2026-03-13 17:47:52 +07:00
parent d0f9ec55e4
commit 73e1a5e76d

View File

@@ -267,7 +267,7 @@ class BlockHandler(ContentHandler):
)
)
except Exception as e:
logger.warning(f"Failed to process block {block_id}: {e}")
logger.warning("Failed to process block %s: %s", block_id, e)
continue
return items