CrashReporterStartOptions

external interface CrashReporterStartOptions(source)

Properties

Link copied to clipboard
abstract var companyName: String?

Deprecated alias for { globalExtra: { _companyName: ... } }.

Link copied to clipboard
abstract var compress: Boolean?

If true, crash reports will be compressed and uploaded with Content-Encoding: gzip. Default is true.

Link copied to clipboard

Extra string key/value annotations that will be sent along with crash reports that are generated in the main process. Only string values are supported. Crashes generated in child processes will not contain these extra parameters to crash reports generated from child processes, call addExtraParameter from the child process.

Link copied to clipboard

Extra string key/value annotations that will be sent along with any crash reports generated in any process. These annotations cannot be changed once the crash reporter has been started. If a key is present in both the global extra parameters and the process-specific extra parameters, then the global one will take precedence. By default, productName and the app version are included, as well as the Electron version.

Link copied to clipboard

If true, crashes generated in the main process will not be forwarded to the system crash handler. Default is false.

Link copied to clipboard
abstract var productName: String?

Defaults to app.name.

Link copied to clipboard
abstract var rateLimit: Boolean?

If true, limit the number of crashes uploaded to 1/hour. Default is false.

Link copied to clipboard
abstract var submitURL: String?

URL that crash reports will be sent to as POST. Required unless uploadToServer is false.

Link copied to clipboard
abstract var uploadToServer: Boolean?

Whether crash reports should be sent to the server. If false, crash reports will be collected and stored in the crashes directory, but not uploaded. Default is true.