about summary refs log tree commit diff stats
path: root/cmd/server/main.go
diff options
context:
space:
mode:
authorAlan Pearce2024-11-28 15:03:29 +0100
committerAlan Pearce2024-11-28 15:03:29 +0100
commit183b0c8b5edbcf4224d4dd3905ca483204522656 (patch)
tree84d323ea8b4ed3a43e5b9a029a015623178ee581 /cmd/server/main.go
parent5a350395ba1163b03242a185b397cd1dbd50417b (diff)
downloadwebsite-183b0c8b5edbcf4224d4dd3905ca483204522656.tar.lz
website-183b0c8b5edbcf4224d4dd3905ca483204522656.tar.zst
website-183b0c8b5edbcf4224d4dd3905ca483204522656.zip
use more descriptive error text
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index be36e3b..21d8e89 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -52,7 +52,7 @@ func main() {
 		err = sv.Start()
 		if err != nil {
 			// Error starting or closing listener:
-			log.Fatal("error %v", err)
+			log.Fatal("error starting server", err)
 		}
 	}()