electron/docs/crash-reporter.md
2013-08-14 15:43:35 -07:00

471 B

Synopsis

An example of automatically submitting crash reporters to remote server:

crashReporter = require('crash-reporter');
crashReporter.setCompanyName('YourCompany');
crashReporter.setSubmissionUrl('https://your-domain.com/url-to-submit');
crashReporter.setAutoSubmit(true);

crashReporter.setCompanyName(company)

  • company String

crashReporter.setSubmissionUrl(url)

  • url String

crashReporter.setAutoSubmit(is)

  • is Boolean