News for hackers. Stuff that matters.
Re:The problem with new URL(), and how URL.parse() fixes that by tsimionescu on Tuesday May 21, 2024 @02:01PM (#40431670)
Yes, I'm in exactly the same boat. In practice, in the code bases I worked in, the ones with exceptions tended to have the most useful debug information available in logs.

It's absolutely possible to beat exceptions with manual context, but I've only really seen that in areas of code that were actually causing problems (so people actually put in the work to make the logs useful). When a problem appears in production in an area of code that had not been causing problems in QA is when you're typically left with no useful info in logs.

There are no comments on this comment yet.