Skip to content

Commit a18cfb9

Browse files
committed
refactor(soc-ai): improve error message clarity in elastic error handler
1 parent 62128d4 commit a18cfb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/soc-ai/elastic/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ func RegisterError(message string, id string) {
1111
if err != nil {
1212
_ = catcher.Error("error while indexing error in elastic: %v", err, map[string]any{"process": "plugin_com.utmstack.soc-ai"})
1313
}
14-
_ = catcher.Error("TODO: Explain this error", errors.New(message), map[string]any{"process": "plugin_com.utmstack.soc-ai"})
14+
_ = catcher.Error("soc-ai operation error", errors.New(message), map[string]any{"process": "plugin_com.utmstack.soc-ai"})
1515
}

0 commit comments

Comments
 (0)