This commit is contained in:
crusader 2017-10-26 21:50:28 +09:00
parent fc32f89c93
commit e7526836ae

View File

@ -36,7 +36,7 @@ type server struct {
} }
func (s *server) Start() error { func (s *server) Start() error {
if nil != s.serverHandler { if nil == s.serverHandler {
panic("Server: server handler must be specified.") panic("Server: server handler must be specified.")
} }
s.serverHandler.Validate() s.serverHandler.Validate()