Skip to content

Commit

Permalink
failback返回错误 (#1177)
Browse files Browse the repository at this point in the history
  • Loading branch information
fumenglin authored and AlexStocks committed Apr 27, 2021
1 parent 34ff5e4 commit e230100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/cluster_impl/failback_cluster_invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (invoker *failbackClusterInvoker) Invoke(ctx context.Context, invocation pr
logger.Errorf("Failback to invoke the method %v in the service %v, wait for retry in background. Ignored exception: %v.\n",
methodName, url.Service(), result.Error().Error())
// ignore
return &protocol.RPCResult{}
return &protocol.RPCResult{Err: result.Error()}
}
return result
}
Expand Down

0 comments on commit e230100

Please sign in to comment.