Tutorial: system.startCrashReporter

system.startCrashReporter

Start the crash reporter for the browser process if not already running. You can optionally specify diagnosticMode to have the logs sent to OpenFin on runtime close. It also turns on verbose logging.

Example

const crashReporterOptions = {
    diagnosticMode: true
};

fin.desktop.System.startCrashReporter(crashReporterOptions, function (response) {
    console.log(response);
}, function (error) {
    console.log('There was an error:', error);
});