fiatjaf on Nostr: Turn the underscore "_" thingies into variables ("err") and check them with if err != ...
Turn the underscore "_" thingies into variables ("err") and check them with
if err != nil {
panic(err)
}
So you can get better insight of what is actually failing.
Published at
2024-02-16 13:38:48Event JSON
{
"id": "329126151baf3e9fc3e7b4737cb35ed11b924aaf7102218872dfe70cc021c9a1",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1708090728,
"kind": 1,
"tags": [
[
"p",
"d19fec54027d097065482280ae17a68d0ad57f0f5c2fa74e24f3dbbb1e6c5495",
"",
"ekzyis"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"",
"mleku"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322",
"",
"hodlbod"
],
[
"e",
"cf846ccf5f572dd92fd44f42b3c94af1ddcd3e51ce6def285991e452b822a66d",
"wss://offchain.pub/",
"reply"
]
],
"content": "Turn the underscore \"_\" thingies into variables (\"err\") and check them with\n\nif err != nil {\n panic(err)\n}\n\nSo you can get better insight of what is actually failing.",
"sig": "a77c29f3a103a73554bb92bad3676c109982f8b48313ec9be1c47b6e01c066b083d190fca2c19e7ff1d1b8621bf27ebebd080f1df11564d7037ab579ac215ffc"
}