Skip to content

docs: Electron integration docs#1142

Merged
kamilogorek merged 3 commits intomasterfrom
electron-docs
Nov 20, 2017
Merged

docs: Electron integration docs#1142
kamilogorek merged 3 commits intomasterfrom
electron-docs

Conversation

@kamilogorek
Copy link
Contributor

It's something... :shipit:

image

@kamilogorek kamilogorek requested a review from a team November 17, 2017 14:03
Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! What would be great is to suggest adding tags for the Electron version and OS platform to the events. I was thinking of:

Raven.config('___PUBLIC_DSN___', {
  captureUnhandledRejections: true,
  tags: {
    electron: process.versions.electron,
    chrome: process.versions.chrome,
    process: process.versions.type,
    platform: process.platform  // if not sent by raven
  }
}).install()

Other than that, just one minor wording suggestion.

Raven.captureException(event.reason);
});

This configuration will also handle promises errors, which be handled in various way, however, by default Electron uses standard JS API.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"will also handle Promise errors" or "unhandled Promise rejections"

@kamilogorek kamilogorek merged commit f9ac32a into master Nov 20, 2017
@kamilogorek kamilogorek deleted the electron-docs branch November 20, 2017 11:16
chargome added a commit that referenced this pull request Mar 17, 2026
Fixes Dependabot alerts #1142 and #1145.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chargome added a commit that referenced this pull request Mar 18, 2026
Fixes Dependabot alerts #1142 and #1145.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants