Ark
const {crashReporter} = require('electron')
const bugsplat = require("bugsplat")
module.exports = {
Reporter: function() {
// Crash Reporter
crashReporter.start({
productName: process.env.Name, // Edit this in .env
submitURL: process.env.CrashReportServer, // Edit this in .env
})
const javaScriptErrorHandler = async (error) => {
// await bugsplat.post(error);
app.quit();
}
// If you want test the crash reporter, uncomment the code below and wait a few moments.
// setTimeout(() => {process.crash()}, 2400)