electron/docs/api/common/crash-reporter.md
2013-11-14 13:39:44 +08:00

590 B

crash-reporter

An example of automatically submitting crash reporters to remote server:

crashReporter = require('crash-reporter');
crashReporter.start({
  productName: 'YourName',
  companyName: 'YourCompany',
  submitUrl: 'https://your-domain.com/url-to-submit',
  autoSubmit: true
});

crashReporter.start(options)

  • options Object
    • productName String
    • companyName String
    • submitUrl String - URL that crash reports would be sent to
    • autoSubmit Boolean - Send the crash report without user interaction
    • ignoreSystemCrashHandler Boolean