mirror of
https://github.com/electron/electron.git
synced 2026-01-31 02:08:34 -05:00
471 B
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)
companyString
crashReporter.setSubmissionUrl(url)
urlString
crashReporter.setAutoSubmit(is)
isBoolean