Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just over-log absolutely everything. If it fails log it. If it succeeds and you might need to know about it, log it. That's not great error handling, but it helps with debugging.


What about "set -x"? Same effect, but you only have to flip the switch once.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: