rpcenc: fix bug
This commit is contained in:
parent
42bb91c2e6
commit
4ca5fef0de
@ -100,6 +100,7 @@ func ReaderParamDecoder() (http.HandlerFunc, jsonrpc.ServerOption) {
|
|||||||
u, err := uuid.Parse(strId)
|
u, err := uuid.Parse(strId)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
http.Error(resp, fmt.Sprintf("parsing reader uuid: %s", err), 400)
|
http.Error(resp, fmt.Sprintf("parsing reader uuid: %s", err), 400)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
readersLk.Lock()
|
readersLk.Lock()
|
||||||
|
Loading…
Reference in New Issue
Block a user