mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 00:50:54 +00:00
update the string
This commit is contained in:
parent
185089299c
commit
92f3de4027
2
admin.go
2
admin.go
@ -468,6 +468,6 @@ func (admin *adminApp) Run() {
|
|||||||
err = http.ListenAndServe(addr, nil)
|
err = http.ListenAndServe(addr, nil)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
BeeLogger.Critical("Admin ListenAndServe: ", err, fmt.Sprint(os.Getpid()))
|
BeeLogger.Critical("Admin ListenAndServe: ", err, fmt.Sprintf("%d", os.Getpid()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
app.go
4
app.go
@ -93,7 +93,7 @@ func (app *App) Run() {
|
|||||||
server.Server = app.Server
|
server.Server = app.Server
|
||||||
err := server.ListenAndServeTLS(HttpCertFile, HttpKeyFile)
|
err := server.ListenAndServeTLS(HttpCertFile, HttpKeyFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
BeeLogger.Critical("ListenAndServeTLS: ", err)
|
BeeLogger.Critical("ListenAndServeTLS: ", err, fmt.Sprintf("%d", os.Getpid()))
|
||||||
time.Sleep(100 * time.Microsecond)
|
time.Sleep(100 * time.Microsecond)
|
||||||
endRunning <- true
|
endRunning <- true
|
||||||
}
|
}
|
||||||
@ -108,7 +108,7 @@ func (app *App) Run() {
|
|||||||
}
|
}
|
||||||
err := server.ListenAndServe()
|
err := server.ListenAndServe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
BeeLogger.Critical("ListenAndServe: ", err, fmt.Sprint(os.Getpid()))
|
BeeLogger.Critical("ListenAndServe: ", err, fmt.Sprintf("%d", os.Getpid()))
|
||||||
time.Sleep(100 * time.Microsecond)
|
time.Sleep(100 * time.Microsecond)
|
||||||
endRunning <- true
|
endRunning <- true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user