Mention how to test
This commit is contained in:
parent
7b03c05b4e
commit
4985e073c4
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ You can pass different options to `crashReporter.start` when calling from differ
|
|||
**Note** Child processes created via the `child_process` module will not have access to the Electron modules.
|
||||
Therefore, to collect crash reports from them, use `process.crashReporter.start` instead. Pass the same options as above
|
||||
along with an additional one called `crashesDirectory` that should point to a directory to store the crash
|
||||
reports temporarily.
|
||||
reports temporarily. You can test this out by calling `process.crash()` to crash the child process.
|
||||
|
||||
**Note:** To collect crash reports from child process in Windows, you need to add this extra code as well.
|
||||
This will start the process that will monitor and send the crash reports. Replace `submitURL`, `productName` and `tmpPath`
|
||||
|
|
Loading…
Add table
Reference in a new issue