mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-30 02:20:37 +02:00
improve debug logging, fix stringer interface, debuglog events sent, fix debuglogging affecting the actual values.
This commit is contained in:
@ -197,7 +197,7 @@ func parseEventMessage(t *testing.T, raw []json.RawMessage) Event {
|
||||
}
|
||||
var event Event
|
||||
if err := json.Unmarshal(raw[1], &event); err != nil {
|
||||
t.Errorf("json.Unmarshal: %v", err)
|
||||
t.Errorf("json.Unmarshal(`%s`): %v", string(raw[1]), err)
|
||||
}
|
||||
return event
|
||||
}
|
||||
|
Reference in New Issue
Block a user