summary refs log tree commit diff stats
path: root/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'post.go')
-rw-r--r--post.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.go b/post.go
index ae1ef26..7846c7e 100644
--- a/post.go
+++ b/post.go
@@ -49,7 +49,7 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 
 	statuses, err := registry.ParseUserTwtxt(out, nick, urls)
 	if err != nil {
-		log.Printf("Error Parsing User Data: %v\n", err)
+		log.Printf("Error Parsing User Data: %v\n", err.Error())
 	}
 
 	if err := twtxtCache.AddUser(nick, urls, uip, statuses); err != nil {
@@ -60,6 +60,6 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 	log200(r)
 	_, err = w.Write([]byte(fmt.Sprintf("200 OK\n")))
 	if err != nil {
-		log.Printf("%v\n", err)
+		log.Printf("%v\n", err.Error())
 	}
 }