mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-04-18 03:16:54 +02:00
one extra bit of logging.
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user