Hello, I’m working on a Electron app that uses Vue and I’ve been using the solution from this topic in order to get everything to work seamlessly, however, upon upgrading the @sentry/electron
package (v1.0.0), the proposed solution doesn’t work.
I have tried to use the Sentry Vue integration from the @sentry/integrations
but it appears to not work at all, errors inside Vue components are not logged to Sentry (in contrast of errors thrown in the background process) .
import * as Sentry from '@sentry/electron';
import * as Integrations from '@sentry/integrations';
const SentryVueIntegration = Integrations.Vue;
// initalize Vue etc..
Sentry.init({
dsn: 'https://123456@sentry.io/123456',
integrations: [
new SentryVueIntegration({
Vue,
attachProps: true,
}),
],
});
So my question is, how would one go about integrating Vue and Electron with the latest version of Sentry?