mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-29 15:43:58 +00:00
Adjust initialize of sentry for electron on new lib version
This commit is contained in:
parent
342e87e42e
commit
dac8979ca3
@ -1,4 +1,4 @@
|
||||
const { SentryClient } = require('@sentry/electron');
|
||||
const { init } = require('@sentry/electron');
|
||||
const fs = require('fs');
|
||||
const { ipcMain } = require('electron');
|
||||
|
||||
@ -20,7 +20,7 @@ ipcMain.on('settings.changed', function (event, settings) {
|
||||
});
|
||||
|
||||
|
||||
SentryClient.create({
|
||||
init({
|
||||
dsn: DSN,
|
||||
shouldSendCallback: shouldSendCallback
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user