forked from TrueCloudLab/neoneo-go
rpcsrv: adjust "subscribe" response error
Make it more detailed for better debugging experience.
This commit is contained in:
parent
3f122fd591
commit
d043139b66
1 changed files with 1 additions and 1 deletions
|
@ -2436,7 +2436,7 @@ func (s *Server) subscribe(reqParams params.Params, sub *subscriber) (interface{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, neorpc.ErrInvalidParams
|
return nil, neorpc.WrapErrorWithData(neorpc.ErrInvalidParams, err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue