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

This is not error-handling :)

In fact, this is the opposite of error handling. In any serious application this might be worse than ignoring errors



I didn't say this is error handling, this is a stack trace for debugging on error.

Similar to an uncaught exception in other languages. And yes, I will not use this on production applications or libraries, I mostly use this in scripts where this kind of thing makes sense.




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

Search: