summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-09-09 17:21:12 +0600
committerunwox <me@unwox.com>2025-09-09 17:22:57 +0600
commitaadee458066c5d623ae2a16b8957f51418139fcd (patch)
tree582dde598e1e317de3ed51f11a1f1ec5c5c5ac8e /worker.go
parentc26739ce130bc40ded6ff9dfea1be1eba1a2e4eb (diff)
small refactorings
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/worker.go b/worker.go
index 8f6c342..d252708 100644
--- a/worker.go
+++ b/worker.go
@@ -152,7 +152,6 @@ func (w *Worker) Listen(queue chan *HTTPRequest) {
return
}
- l.PushTracebackHandler()
l.PushFromRef(w.routes[r.route])
req := r.request
res := make(map[string]any)
@@ -263,7 +262,7 @@ func (w *Worker) Listen(queue chan *HTTPRequest) {
return
}
- err = l.PCall(1, 3, -3)
+ err = l.PCall(1, 3, 1)
if err != nil {
var body string
if debug {