edbaa080 by astaxie

update the string

1 parent d56491ab
...@@ -468,6 +468,6 @@ func (admin *adminApp) Run() { ...@@ -468,6 +468,6 @@ func (admin *adminApp) Run() {
468 err = http.ListenAndServe(addr, nil) 468 err = http.ListenAndServe(addr, nil)
469 } 469 }
470 if err != nil { 470 if err != nil {
471 BeeLogger.Critical("Admin ListenAndServe: ", err, fmt.Sprint(os.Getpid())) 471 BeeLogger.Critical("Admin ListenAndServe: ", err, fmt.Sprintf("%d", os.Getpid()))
472 } 472 }
473 } 473 }
......
...@@ -93,7 +93,7 @@ func (app *App) Run() { ...@@ -93,7 +93,7 @@ func (app *App) Run() {
93 server.Server = app.Server 93 server.Server = app.Server
94 err := server.ListenAndServeTLS(HttpCertFile, HttpKeyFile) 94 err := server.ListenAndServeTLS(HttpCertFile, HttpKeyFile)
95 if err != nil { 95 if err != nil {
96 BeeLogger.Critical("ListenAndServeTLS: ", err) 96 BeeLogger.Critical("ListenAndServeTLS: ", err, fmt.Sprintf("%d", os.Getpid()))
97 time.Sleep(100 * time.Microsecond) 97 time.Sleep(100 * time.Microsecond)
98 endRunning <- true 98 endRunning <- true
99 } 99 }
...@@ -108,7 +108,7 @@ func (app *App) Run() { ...@@ -108,7 +108,7 @@ func (app *App) Run() {
108 } 108 }
109 err := server.ListenAndServe() 109 err := server.ListenAndServe()
110 if err != nil { 110 if err != nil {
111 BeeLogger.Critical("ListenAndServe: ", err, fmt.Sprint(os.Getpid())) 111 BeeLogger.Critical("ListenAndServe: ", err, fmt.Sprintf("%d", os.Getpid()))
112 time.Sleep(100 * time.Microsecond) 112 time.Sleep(100 * time.Microsecond)
113 endRunning <- true 113 endRunning <- true
114 } 114 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!