This commit is contained in:
crusader
2018-09-14 02:14:57 +09:00
parent 57cb5cf1a9
commit 7db69d4551
4 changed files with 35 additions and 10 deletions

View File

@@ -135,8 +135,7 @@ func (s *ScannerServlets) Handle(servletCtx server.ServletCtx,
}
if !s.RPCInvoker.HasMethod(src.Method()) {
olog.Logger().Error(err.Error())
s.writeError(src, writeChan, orp.E_NO_METHOD, "", err)
s.writeError(src, writeChan, orp.E_NO_METHOD, "", fmt.Errorf("%s is not exist", src.Method()))
break
}