Hacker News new | past | comments | ask | show | jobs | submit login

Yup. It's a pretty bad idea to log all errors from ajax calls, since some errors are expected. 403 and 404s, for example, should be handled relatively intelligently. Error-handling is a bitch, but you really need to do it thoughtfully for practically every remote call, similar to robust C code.

You are right about the ajaxError..I'm not sure what I was thinking. I kept it in, but added a note that I was wrong.

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