4 ms·
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 intellige
by snprbob86 15y ago
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.
- latch 15y agoYou 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.