Adds reporting serve errors
This commit is contained in:
1 parent
7743664527
commit
6134f1c812
1 file changed
+1
-1
@@ -36,7 +36,7 @@ func Main() int {
|
|||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if app.Serve() != nil {
|
if err := app.Serve(); err != nil {
|
||||||
fmt.Printf("http server error: %v\n", err)
|
fmt.Printf("http server error: %v\n", err)
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user