Support Sentry for electron, Ref: #13

This commit is contained in:
ziajka
2018-04-03 14:35:41 +02:00
parent 235d841b1e
commit 3db58dfe7c
4 changed files with 129 additions and 6 deletions

8
sentry.js Normal file
View File

@ -0,0 +1,8 @@
const { SentryClient } = require('@sentry/electron');
const DSN =
'https://cb7b474b2e874afb8e400c47d1452ecc:7876224cbff543d992cb0ac4021962f8@sentry.io/1040940';
SentryClient.create({
dsn: DSN
});