mirror of https://github.com/gofiber/fiber.git
👷 handle error of fmt.Fprintf
parent
b425a6b25f
commit
102d167b9f
2
app.go
2
app.go
|
@ -752,7 +752,7 @@ func (app *App) startupMessage(addr string, tls bool, pids string) {
|
|||
if os.Getenv("TERM") == "dumb" || (!isatty.IsTerminal(os.Stdout.Fd()) && !isatty.IsCygwinTerminal(os.Stdout.Fd())) {
|
||||
out = colorable.NewNonColorable(os.Stdout)
|
||||
}
|
||||
fmt.Fprintf(out, logo,
|
||||
_, _ = fmt.Fprintf(out, logo,
|
||||
cBlack,
|
||||
centerValue(" Fiber v"+Version, 49),
|
||||
center(addr, 49),
|
||||
|
|
Loading…
Reference in New Issue