Add crashReporter property to process

This commit is contained in:
Ramya Achutha Rao 2016-12-09 01:44:12 -08:00 committed by Kevin Sawicki
parent d4b44d8b69
commit 1f07cf2545
4 changed files with 22 additions and 19 deletions

View file

@ -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!'
});