fix: use utils.Log in some places

This commit is contained in:
Noah Hsu
2022-08-30 16:13:01 +08:00
parent 615e5dd118
commit a6b9dbfbe4
7 changed files with 15 additions and 18 deletions

View File

@ -48,7 +48,7 @@ the address is defined in config file`,
err = srv.ListenAndServe()
}
if err != nil && err != http.ErrServerClosed {
utils.Log.Errorf("failed to start: %s", err.Error())
utils.Log.Fatalf("failed to start: %s", err.Error())
}
}()
// Wait for interrupt signal to gracefully shutdown the server with