electron-breakpad-sentry

by khamidou

GitHub Readme.md

electron-breakpad-sentry

This is a tiny app to forward Electron breakpad errors to Sentry. It's the easiest way to get crash reports from an Electron app!

Setup

  1. Deploy it on Heroku!
  2. Set the SENTRY_DSN environment variable to the value of the Sentry project you're using.
  3. Set up your electron project to forward errors to this app. Usually something like this should be enough:
const { app, crashReporter } = require('electron');

app.on('ready', () => {
 crashReporter.start({
 productName: 'YourAppName',
 companyName: 'YourCompany',
 submitURL: '$YOUR_HEROKU_APP_URL/crashreport',
 autoSubmit: true
 });
  1. Profit!

Reporting bugs

If you've found any bug, please let me know by opening a new issue.