Skip to content

Commit

Permalink
Merge 3ac28a5 into 3c006a5
Browse files Browse the repository at this point in the history
  • Loading branch information
zibul444 authored Jul 28, 2023
2 parents 3c006a5 + 3ac28a5 commit 09b4dec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/netext/grpcext/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,11 @@ func (c *Conn) Invoke(
// {"x":6,"y":4,"z":0}
raw, _ := marshaler.Marshal(resp)
msg := make(map[string]interface{})
_ = json.Unmarshal(raw, &msg)
er := json.Unmarshal(raw, &msg)
response.Message = msg
if er != nil {
response.Message = string(raw)
}
}
return &response, nil
}
Expand Down

0 comments on commit 09b4dec

Please sign in to comment.