Add crashReporter property to process
This commit is contained in:
parent
d4b44d8b69
commit
1f07cf2545
4 changed files with 22 additions and 19 deletions
|
@ -5,7 +5,7 @@ let productName = 'Child Product';
|
|||
let companyName = 'Child Company';
|
||||
let tmpPath = path.join(os.tmpdir(), productName + ' Crashes');
|
||||
|
||||
process.startCrashReporter(productName, companyName, 'http://localhost:8080/uploadDump/childDump', tmpPath, {
|
||||
process.crashReporter.start(productName, companyName, 'http://localhost:8080/uploadDump/childDump', tmpPath, {
|
||||
randomData1: 'The Holidays are here!',
|
||||
randomData2: 'Happy New Year!'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue