From 02cbd24165cef438ff973ed3c7e7f908670aebe8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 28 Nov 2016 15:03:10 -0800 Subject: [PATCH] Mention setUploadToServer only has effect after start --- docs/api/crash-reporter.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 044e6a8..f9409bd 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -75,15 +75,16 @@ ID. Returns `Boolean` - Whether reports should be submitted to the server. Set through the `start` method or `setUploadToServer`. -**NOTE:** This API can only be used from the main process +**Note:** This API can only be used from the main process. ### `crashReporter.setUploadToServer(uploadToServer)` _macOS_ * `uploadToServer` Boolean _macOS_ - Whether reports should be submitted to the server -This would normally be controlled by user preferences. +This would normally be controlled by user preferences. This has no effect if +called before `start` is called. -**NOTE:** This API can only be used from the main process +**Note:** This API can only be used from the main process. ## Crash Report Payload -- 2.7.4