Misty on Nostr: Python question: I'm looking at a nested exception from requests. It's a requests ...
Python question: I'm looking at a nested exception from requests. It's a requests exception which wraps a urllib3 exception which wraps something else. The specific detail I'm looking for isn't available at the top level, only in the nested exception. Is there a cleaner or less fragile way to get the details I want than this?
Published at
2025-10-02 17:48:24 UTCEvent JSON
{
"id": "a486e0e73cc9e4c7c93114765a4d8d79194f1629dcca931baa8edcc315d1b882",
"pubkey": "cde81ecf098454e4e4e3163dfe5dba1b1fccdb8be5b83b97763c2ed312ac36c2",
"created_at": 1759427304,
"kind": 1,
"tags": [
[
"imeta",
"url https://digipres.club/system/media_attachments/files/115/305/827/606/263/332/original/b6e724309a5f9354.png",
"m image/png"
],
[
"proxy",
"https://digipres.club/@misty/115305827828333519",
"web"
],
[
"proxy",
"https://digipres.club/users/misty/statuses/115305827828333519",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://digipres.club/users/misty/statuses/115305827828333519",
"pink.momostr"
],
[
"-"
]
],
"content": "Python question: I'm looking at a nested exception from requests. It's a requests exception which wraps a urllib3 exception which wraps something else. The specific detail I'm looking for isn't available at the top level, only in the nested exception. Is there a cleaner or less fragile way to get the details I want than this?\nhttps://digipres.club/system/media_attachments/files/115/305/827/606/263/332/original/b6e724309a5f9354.png\n",
"sig": "7268445b79dca2adefdda062bc8bf14150bf09edb238780fdb2e48a75e4ce440e6af18327994947951620d39c377c948d1ca94ef442ee9f0403996b2f74b4cb7"
}