Преглед на файлове

fix: InvokeTool response should correctly handle error messages

Yeuoly преди 8 месеца
родител
ревизия
005a32a8d5
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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
 			}