mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(backend): use lazy %s formatting in logger.warning calls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user