m7v
6/14/2017 - 7:58 AM

Integration Sentry for log React errors.

Integration Sentry for log React errors.

var originalConsoleError = console.error;

console.error = function(message, error) {  
    Raven.captureException(error);
    originalConsoleError.apply(this, arguments)
}