fix call error
This commit is contained in:
parent
34e962631d
commit
e9dd709ec2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ func (s *server) Call(ctx context.Context, c *websocket.Conn, method string, par
|
||||||
<-timeout.C
|
<-timeout.C
|
||||||
}
|
}
|
||||||
if response.Error != nil {
|
if response.Error != nil {
|
||||||
return response, fmt.Errorf("Call Error: %w", err)
|
return response, fmt.Errorf("Call Error (%v): %v", response.Error.Code, response.Error.Message)
|
||||||
}
|
}
|
||||||
|
|
||||||
if result == nil {
|
if result == nil {
|
||||||
|
|
Loading…
Add table
Reference in a new issue