diff options
Diffstat (limited to 'plugins/rpc/tests/plugin2.go')
-rw-r--r-- | plugins/rpc/tests/plugin2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/rpc/tests/plugin2.go b/plugins/rpc/tests/plugin2.go index feeae4af..854bf097 100644 --- a/plugins/rpc/tests/plugin2.go +++ b/plugins/rpc/tests/plugin2.go @@ -27,7 +27,7 @@ func (p2 *Plugin2) Serve() chan error { conn, err := net.Dial("tcp", "127.0.0.1:6001") if err != nil { - errCh <- err + errCh <- errors.E(errors.Serve, err) return } client := rpc.NewClientWithCodec(goridge.NewClientCodec(conn)) |