mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
fix: add exc_info to agent error log for debugging NoneType += str
This commit is contained in:
@@ -395,7 +395,7 @@ class InternalAgentSubStage(Stage):
|
||||
unregister_active_runner(event.unified_msg_origin, agent_runner)
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error occurred while processing agent: {e}")
|
||||
logger.error(f"Error occurred while processing agent: {e}", exc_info=True)
|
||||
custom_error_message = extract_persona_custom_error_message_from_event(
|
||||
event
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user