summaryrefslogtreecommitdiff
path: root/src/lib/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/http')
-rw-r--r--src/lib/http/triv.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/http/triv.go b/src/lib/http/triv.go
index c452e2f5c..d2e074d73 100644
--- a/src/lib/http/triv.go
+++ b/src/lib/http/triv.go
@@ -11,6 +11,7 @@ import (
"fmt";
"http";
"io";
+ "log";
"net";
"os";
)
@@ -110,7 +111,7 @@ func main() {
http.Handle("/chan", ChanCreate());
err := http.ListenAndServe(":12345", nil);
if err != nil {
- panic("ListenAndServe: ", err.String())
+ log.Crash("ListenAndServe: ", err)
}
}