diff options
Diffstat (limited to 'pkg/urpc/urpc.go')
-rw-r--r-- | pkg/urpc/urpc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/urpc/urpc.go b/pkg/urpc/urpc.go index 0f2b5ccce..af620b704 100644 --- a/pkg/urpc/urpc.go +++ b/pkg/urpc/urpc.go @@ -570,7 +570,7 @@ func (c *Client) Call(method string, arg interface{}, result interface{}) error callR := callResult{Result: result} newFs, err := unmarshal(c.Socket, &callR) if err != nil { - return err + return fmt.Errorf("urpc method %q failed: %v", method, err) } // Set the file payload. |