fix call error

This commit is contained in:
speatzle 2024-05-21 16:20:03 +02:00
parent 34e962631d
commit e9dd709ec2

View file

@ -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 {