aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index 3552cba..8f9482d 100644
--- a/main.go
+++ b/main.go
@@ -40,5 +40,8 @@ func main() {
clog.Fatal(1, "Listening: "+err.Error())
}
- http.Serve(listener, nil)
+ err = http.Serve(listener, nil)
+ if err != nil {
+ clog.Fatal(1, "Serving: "+err.Error())
+ }
}