Merge pull request #74 from brian-petersen/serve-error

Adds reporting serve errors
This commit is contained in:
Svilen Markov 2024-05-17 17:31:10 +01:00 committed by GitHub
commit f4fca7600a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,7 +36,7 @@ func Main() int {
return 1
}
if app.Serve() != nil {
if err := app.Serve(); err != nil {
fmt.Printf("http server error: %v\n", err)
return 1
}