From 884391b5e41347abf9e3c83ff6ddfb1b3f0653c2 Mon Sep 17 00:00:00 2001 From: idanoo Date: Sun, 29 Jan 2023 20:18:35 +1300 Subject: [PATCH] Marshall logs --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 3b8b91d..f028eed 100644 --- a/main.go +++ b/main.go @@ -140,7 +140,8 @@ func handler(w http.ResponseWriter, r *http.Request) { log.Println(msg) // Debug? - log.Println(r.Body) + str, _ := json.Marshal(i) + log.Println(str) // Send to Matrix err = sendWebhook(