diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2025-06-30 20:46:15 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2025-06-30 20:46:15 +0200 |
commit | 0d2eb7a705c74818f3782076c5965339d4ef8548 (patch) | |
tree | 5770af5dd677e8533fdddffd2e2ca46abb94e154 /examples | |
parent | b57ef8e7be4064ed0f5d4ca4bf8cc8e44cb850a7 (diff) | |
download | hh-0d2eb7a705c74818f3782076c5965339d4ef8548.tar.gz |
Diffstat (limited to 'examples')
-rw-r--r-- | examples/basic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.go b/examples/basic.go index bfe538e..eaa0a9b 100644 --- a/examples/basic.go +++ b/examples/basic.go @@ -27,5 +27,5 @@ func adminUsersForm(w http.ResponseWriter, r struct { func main() { hhMountRoutes(nil) - http.ListenAndServe(":http", nil) + slog.Error("Error listening", "error", http.ListenAndServe(":http", nil)) } |