mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
590 B
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)
optionsObjectproductNameStringcompanyNameStringsubmitUrlString - URL that crash reports would be sent toautoSubmitBoolean - Send the crash report without user interactionignoreSystemCrashHandlerBoolean