mirror of
https://github.com/fiatjaf/khatru.git
synced 2025-03-17 21:32:55 +01:00
one extra bit of logging.
This commit is contained in:
parent
08da692de6
commit
bc860ff28b
@ -161,7 +161,7 @@ func saveEvent(body []byte) error {
|
||||
var evt event.Event
|
||||
err := json.Unmarshal(body, &evt)
|
||||
if err != nil {
|
||||
log.Warn().Err(err).Msg("couldn't decode body")
|
||||
log.Warn().Err(err).Str("body", string(body)).Msg("couldn't decode body")
|
||||
return errors.New("failed to decode event")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user