Event JSON
{
"id": "2125055fcdeb5573d2f9fc887b6fc025376d467402bbe68a9c9ede8c8e68ef54",
"pubkey": "05bbadaea41d30c3cf3b7fb1027622eb00cca66635fc9047053df7f9a54cb0c7",
"created_at": 1695892512,
"kind": 1,
"tags": [
[
"p",
"b722fd86f0d1d688bf15949ed3bd1a29c7983399f3ef71b27d7198d4f4150bf9",
"wss://relay.mostr.pub"
],
[
"p",
"ffc65ee9353067ef6edc6a9bba182b5051329c03324824fcb5da0fe829c2bc07",
"wss://relay.mostr.pub"
],
[
"e",
"a9924c3086d028f6b39661ac26b3962cb65d9f4e1315d775e447c2ef8f451ca9",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/drewdevault/statuses/111142011685030081",
"activitypub"
]
],
"content": "nostr:npub1ku30mphs68tg30c4jj0d80g698resvue70hhrvnawxvdfaq4p0usadqwn9 the reason you cannot pass errors up through async function handlers is that each callback is a terminal error site -- if you passed it back up, you'd have to exit the event loop entirely to handle it. So you gotta handle it there. But you can just stick the error in a value and pass it to some shared error handling code that does the meaningful for your use-case",
"sig": "27026037348b6b7e4cda2000ff5194758c99bc87b34a13c88cbccebd30c0d30c802703fbf7384fa4c6efce00117fbda8fbc30e09dcc0f6fee6b474bd2b78c07b"
}