Browse Source

Adds reporting serve errors

Brian Petersen 1 year ago
parent
commit
6134f1c812
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/glance/main.go

+ 1 - 1
internal/glance/main.go

@@ -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
 		}