update the string
Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment