Skip to content

Commit c26e6bc

Browse files
committed
fix: improved logging (log URL)
1 parent 077be5c commit c26e6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tg_webhook_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (h tgWebhookHandler) GetBotContextAndInputs(c context.Context, r *http.Requ
181181
} else {
182182
bodyStr = string(bodyBytes)
183183
}
184-
logus.Debugf(c, "Request body: %v", bodyStr)
184+
logus.Debugf(c, "Request body (%s): %s", r.URL.String(), bodyStr)
185185
} else {
186186
logus.Debugf(c, "Request len(body): %v", len(bodyBytes))
187187
}

0 commit comments

Comments
 (0)