Merge pull request #10453 from bpasero/fix-10448
Docs: add crashesDirectory to crash reporter options
This commit is contained in:
commit
6ba3ee3950
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ The `crashReporter` module has the following methods:
|
||||||
* `extra` Object (optional) - An object you can define that will be sent along with the
|
* `extra` Object (optional) - An object you can define that will be sent along with the
|
||||||
report. Only string properties are sent correctly. Nested objects are not
|
report. Only string properties are sent correctly. Nested objects are not
|
||||||
supported and the property names and values must be less than 64 characters long.
|
supported and the property names and values must be less than 64 characters long.
|
||||||
|
* `crashesDirectory` String - Directory to store the crashreports temporarily (only used when the crash reporter is started via `process.crashReporter.start`)
|
||||||
|
|
||||||
You are required to call this method before using any other `crashReporter` APIs
|
You are required to call this method before using any other `crashReporter` APIs
|
||||||
and in each process (main/renderer) from which you want to collect crash reports.
|
and in each process (main/renderer) from which you want to collect crash reports.
|
||||||
|
|
Loading…
Reference in a new issue