Merge pull request #3826 from atom/remote-crash-reporting-defaults

Require submitURL and companyName options to crashReporter.start
This commit is contained in:
Cheng Zhao 2015-12-16 12:02:28 +08:00
commit 2b4e6080a8
14 changed files with 27 additions and 38 deletions

View file

@ -25,8 +25,8 @@ The `crash-reporter` module has the following methods:
`options` Object, properties:
* `productName` String, default: Electron.
* `companyName` String, default: GitHub, Inc.
* `submitURL` String, default: http://54.249.141.255:1127/post.
* `companyName` String (**required**)
* `submitURL` String, (**required**)
* URL that crash reports will be sent to as POST.
* `autoSubmit` Boolean, default: `true`.
* Send the crash report without user interaction.