ElectronCrashReporter.setUploadToServer method
ElectronCrashReporter › setUploadToServer
Unofficial
Sets whether reports should be submitted to the server. This would normally be controlled by user preferences. This has no effect if called beforestart is called. Signature:
setUploadToServer(uploadToServer: boolean): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| uploadToServer | boolean | Whether reports should be submitted to the server. |
Returns: void