Interface for submitting client-side errors to Sentry (bug 872158)