AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(backend): Fix scheduler broken late execution message
Zamil Majdyc4797a5f849c
diff --git a/autogpt_platform/backend/backend/executor/scheduler.py b/autogpt_platform/backend/backend/executor/scheduler.pyindex a3414db339..0c25e58f94 100644--- a/autogpt_platform/backend/backend/executor/scheduler.py+++ b/autogpt_platform/backend/backend/executor/scheduler.py@@ -125,7 +125,8 @@ def report_late_executions() -> str:f"Late executions detected: {num_late_executions} late executions from {num_users} users "f"in the last {config.execution_late_notification_checkrange_secs} seconds. "f"Graph has been queued for more than {config.execution_late_notification_threshold_secs} seconds. "- f"Please check the executor status. Details:\n{'\n'.join(late_execution_details)}"+ "Please check the executor status. Details:\n"+ + "\n".join(late_execution_details))msg = str(error)sentry_capture_error(error)