From 6134f1c812cca51635e35169d888e4082172567c Mon Sep 17 00:00:00 2001 From: Brian Petersen Date: Fri, 17 May 2024 10:11:00 -0600 Subject: [PATCH] Adds reporting serve errors --- internal/glance/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/glance/main.go b/internal/glance/main.go index 5eee962..426c41f 100644 --- a/internal/glance/main.go +++ b/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 }