Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix([issue-2615]): guard the created-investigation log against a null errorAnalysis

[._.]/ Adam Eivy4fec068fb173
diff --git a/server/services/agentErrorAnalysis.js b/server/services/agentErrorAnalysis.js
index 1fe5f317f1..be7dd33d70 100644
--- a/server/services/agentErrorAnalysis.js
+++ b/server/services/agentErrorAnalysis.js
@@ -656,7 +656,7 @@ Approving and applying the fix lets the original task \`${originalTask.id}\` be
emitLog('info', `Created investigation task ${investigationTask.id} for failed agent ${agentId}`, {
agentId,
taskId: investigationTask.id,
- errorCategory: errorAnalysis.category
+ errorCategory: category
});
cosEvents.emit('investigation:created', {