fix(mcp): return explicit JSON-RPC errors instead of misleading Ok strings for missing entities and silent graph modification drops
This commit is contained in:
1 parent
cc190816fe
commit
f81723a539
4 files changed
+27
-9
No files matched your search
@@ -297,7 +297,7 @@ impl McpTool for ResolveTechDebtHandler {
|
||||
if found {
|
||||
Ok("Tech debt resolved".to_string())
|
||||
} else {
|
||||
Ok("Tech debt not found".to_string())
|
||||
Err("Tech debt not found".to_string())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user