mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-24 03:46:03 +08: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