fix: typo when logging fatal error
Small fix to format the error instead of printing `v`
This commit is contained in:
parent
12a177a215
commit
152e2e1037
2
main.go
2
main.go
@ -47,7 +47,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := c.Web.StartServer(&srv); err != http.ErrServerClosed {
|
if err := c.Web.StartServer(&srv); err != http.ErrServerClosed {
|
||||||
c.Web.Logger.Fatalf("shutting down the server: v", err)
|
c.Web.Logger.Fatalf("shutting down the server: %v", err)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user