GH #327 - Register Sentry handlers ourselves rather than relying on its doing so automatically.