feat(backend): debug log for body content
This commit is contained in:
parent
8361b007b7
commit
2a9c64ef16
1 changed files with 3 additions and 0 deletions
|
|
@ -212,6 +212,9 @@ func (e *Router) pushMessagesHandlerWeb(w http.ResponseWriter, r *http.Request)
|
|||
}
|
||||
bodySize = len(bodyBytes)
|
||||
|
||||
// DEBUG: print body
|
||||
log.Printf("first bytes: %+v", bodyBytes[:10])
|
||||
|
||||
// Send processed messages to queue as array of bytes
|
||||
// TODO: check bytes for nonsense crap
|
||||
err = e.services.Producer.Produce(e.cfg.TopicRawWeb, sessionData.ID, bodyBytes)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue