rpclib: Address review

This commit is contained in:
Łukasz Magiera 2019-07-02 19:30:37 +02:00
parent d3a4a56366
commit 661c7d6339
2 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ func (s *RPCServer) rpcError(w http.ResponseWriter, req *request, code int, err
Id: *req.Id,
Error: &respError{
Code: code,
Message: err.(error).Error(),
Message: err.Error(),
},
}