fix issue in ghttp.Server

This commit is contained in:
John
2019-11-07 21:02:24 +08:00
parent d7b0228e9e
commit d8b6466ed0

View File

@ -260,7 +260,7 @@ func (s *Server) Start() error {
path = gfile.Join(s.config.SessionPath, s.name)
if !gfile.Exists(path) {
if err := gfile.Mkdir(path); err != nil {
glog.Fatalf("mkdir failed for '%s':", path, err)
glog.Fatalf("mkdir failed for '%s': %v", path, err)
}
}
}