14 lines
317 B
JavaScript
14 lines
317 B
JavaScript
|
process.crashReporter.start({
|
||
|
productName: 'Zombies',
|
||
|
companyName: 'Umbrella Corporation',
|
||
|
crashesDirectory: process.argv[4],
|
||
|
submitURL: `http://127.0.0.1:${process.argv[2]}`,
|
||
|
extra: {
|
||
|
extra1: 'extra1',
|
||
|
extra2: 'extra2',
|
||
|
_version: process.argv[3]
|
||
|
}
|
||
|
})
|
||
|
|
||
|
process.nextTick(() => process.crash())
|