Experimenting with window.onerror, trying to make JavaScript debugging easy.
What does it do?
Provides JavaScript error details in a readable format. You can log these errors remotely by enabling remoteLogging. After enabling, logerr will send a post request to the desired action/url with exception details along with custom parameters (if provided using additionalParams).