-
Notifications
You must be signed in to change notification settings - Fork 12
Add sentry support #96
Conversation
public/electron.js
Outdated
@@ -42,7 +59,7 @@ createWindow() | |||
const { initMainWorker } = require(path.join(__dirname, './main/mainWorker.js')) | |||
|
|||
app.on('ready', function() { | |||
logger.info('App ready, initlilizing...') | |||
logger.info('App ready, initializing 🚀') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice rocket but prefer plain text in logs. Don't want to shut remote loggers down with Unicode chars. Please remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where could it represent a problem?
src/index.js
Outdated
|
||
if (config.SENTRY_DSN) { | ||
Raven.config( | ||
'https://[email protected]/277183' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be taken from config.SENTRY_DSN
.
@ianaya89 did you cancel this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
public/electron.js
Outdated
@@ -42,7 +59,7 @@ createWindow() | |||
const { initMainWorker } = require(path.join(__dirname, './main/mainWorker.js')) | |||
|
|||
app.on('ready', function() { | |||
logger.info('App ready, initlilizing...') | |||
logger.info('App ready, initializing 🚀') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where could it represent a problem?
Resolves #50