mirror of
https://github.com/glanceapp/glance.git
synced 2025-01-07 15:00:13 +01:00
Adds reporting serve errors
This commit is contained in:
parent
7743664527
commit
6134f1c812
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user