Skip to content
Snippets Groups Projects
Commit 21ffbef4 authored by xujianhai666's avatar xujianhai666
Browse files

add error info

parent b054a3ce
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ import (
import (
"github.com/apache/dubbo-go/cluster"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/common/logger"
"github.com/apache/dubbo-go/protocol"
)
......@@ -75,7 +76,10 @@ func (invoker *forkingClusterInvoker) Invoke(invocation protocol.Invocation) pro
for _, ivk := range selected {
go func(k protocol.Invoker) {
result := k.Invoke(invocation)
resultQ.Put(result)
err := resultQ.Put(result)
if err != nil {
logger.Errorf("resultQ put failed with exception: %v.\n", err)
}
}(ivk)
}
......
......@@ -47,6 +47,7 @@ references:
params:
"serviceid":
"soa.com.ikurento.user.UserProvider"
"forks": 5
protocol_conf:
dubbo:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment