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.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/post.go b/post.go
index 4078cf6..103c254 100644
--- a/post.go
+++ b/post.go
@@ -2,6 +2,7 @@ package main
 
 import (
 	"fmt"
+	"log"
 	"net/http"
 
 	"github.com/getwtxt/registry"
@@ -58,5 +59,8 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 	}
 
 	log200(r)
-	_, _ = w.Write([]byte(fmt.Sprintf("200 OK\n")))
+	_, err = w.Write([]byte(fmt.Sprintf("200 OK\n")))
+	if err != nil {
+		log.Printf("%v\n", err)
+	}
 }