JS Party: JavaScript, CSS, Web Development cover image

JS logging & error handling

JS Party: JavaScript, CSS, Web Development

00:00

Do You Use Debug for Logging?

We use de bug for logging because it's the same thing that next uses and all our other stuff, and n p m uses. So we're just kind of like stuck with that, unless we want to create another de bug equivalent, which we don't. We do use some more sort of, like structured logging for specific events we need to do analytics on or querying. But those are actually needed for correctness, because we have to sometimes replay a web hook,. If it crashed in the middle, or the gethubapi timed out, or whatever, right? Then we have to retry it. And probably at some point in the future we probably need to visit this andy

Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner
Get the app