7 ms·
Where would the decision to drop an error be made? I would do it on the server, where an intelligent decision can be made. (Increment a counter if it's a dupli
by alexchamberlain 15y ago
Where would the decision to drop an error be made?
I would do it on the server, where an intelligent decision can be made. (Increment a counter if it's a duplicate? Group errors together etc?)
- kamjam 15y agoI would probably catch errors as you would on server side logging, log them according to severity and have the ability to turn on/off logging of certain types on errors via config (eg. log.debug, log.warning, log.fatal etc). Although I've never had client errors logged to the server, I have had it logged in a hidden "console" (uses Firebug if available, otherwise custom logger). This gave us enough info to debug the error and we could tell users to open the console and copy paste the trace (was accessible via key combo Ctrl+`).