diff --git a/bots-common/listen.go b/bots-common/listen.go index 58afe74..88b6568 100644 --- a/bots-common/listen.go +++ b/bots-common/listen.go @@ -23,6 +23,7 @@ import ( "fmt" "log" "net/url" + "runtime/debug" "slices" "strings" "time" @@ -176,6 +177,7 @@ func ProcessEvent(f RequestProcessor, request *Request) { defer func() { if r := recover(); r != nil { log.Println(r) + log.Println(string(debug.Stack())) } }()