Explorar o código

fix: InvokeTool response should correctly handle error messages

Yeuoly hai 8 meses
pai
achega
005a32a8d5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      internal/core/plugin_daemon/tool_service.go

+ 1 - 0
internal/core/plugin_daemon/tool_service.go

@@ -57,6 +57,7 @@ func InvokeTool(
 		for response.Next() {
 			item, err := response.Read()
 			if err != nil {
+				newResponse.WriteError(err)
 				return
 			}