summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker.go b/worker.go
index 5d6eeb1..f86906f 100644
--- a/worker.go
+++ b/worker.go
@@ -109,7 +109,7 @@ func (w *Worker) Listen(queue chan any) {
Headers: make(map[string]string),
Body: "server error",
}
- log.Println("could not read a request body")
+ log.Println("could not read a request body:", err)
return
}
w.lua.PushString(string(body))
@@ -122,7 +122,7 @@ func (w *Worker) Listen(queue chan any) {
Headers: make(map[string]string),
Body: "server error",
}
- log.Println("could not read a request body")
+ log.Println("could not read a request body:", err)
return
}