1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-29 18:51:28 +00:00

beego: change the error tips

This commit is contained in:
astaxie 2014-05-20 15:34:27 +08:00
parent 18a02d7d60
commit f215aa4810

2
app.go
View File

@ -91,7 +91,7 @@ func (app *App) Run() {
} }
err := s.ListenAndServeTLS(HttpCertFile, HttpKeyFile) err := s.ListenAndServeTLS(HttpCertFile, HttpKeyFile)
if err != nil { if err != nil {
BeeLogger.Critical("ListenAndServe: ", err) BeeLogger.Critical("ListenAndServeTLS: ", err)
time.Sleep(100 * time.Microsecond) time.Sleep(100 * time.Microsecond)
endRunning <- true endRunning <- true
} }