Skip to content

Instantly share code, notes, and snippets.

@ajmasia
ajmasia / sentry.js
Last active October 6, 2021 17:26
Sentry config Electron + Vue2
import Vue from 'vue'
import * as Sentry from '@sentry/electron'
import * as SentryIntegrations from '@sentry/integrations'
import { sentryDSN, eviorement, releaseVersion } from '@/config/env'
export const ElectronCrashReporter = () =>
Sentry.init({
dsn: sentryDSN,
environment: eviorement,
release: releaseVersion,