3 ms·
I guess it depends what you mean by error logging specifically. I added a pretty barebones “report js errors to the backend” script in about 1.1k uncompressed/
by stephenr 6y ago
I guess it depends what you mean by error logging specifically.
I added a pretty barebones “report js errors to the backend” script in about 1.1k uncompressed/unminified.
It’s possible it doesn’t catch all errors I guess but I can’t imagine what 56K of js just to catch and reports is doing.
- stephenr 6y agoHaving read that section you linked now, ours is similar to his “not enough” example. I’d say probably 99% of the error reports we see from it are a third party js script not loading (Sometimes a network issue, sometimes a plugin blocks them) we’ve pared third party loads down to just the payment gateways, but they’re still the vast majority of reports we see). However it’s also not js heavy, so that type of error logging solution works well for us.