👷 handle error of fmt.Fprintf

pull/874/head
kiyon 2020-10-03 23:59:41 +08:00
parent b425a6b25f
commit 102d167b9f
1 changed files with 1 additions and 1 deletions

2
app.go
View File

@ -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),