From 195cb9172106cb8200e0744d5db7266697f309b7 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 8 Sep 2017 13:21:35 +1000 Subject: [PATCH] Make crashesDirectory optional --- docs/api/crash-reporter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 95004327f0b2..0c1c0fdec0ef 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -46,7 +46,7 @@ The `crashReporter` module has the following methods: * `extra` Object (optional) - An object you can define that will be sent along with the report. Only string properties are sent correctly. Nested objects are not supported and the property names and values must be less than 64 characters long. - * `crashesDirectory` String - Directory to store the crashreports temporarily (only used when the crash reporter is started via `process.crashReporter.start`) + * `crashesDirectory` String (optional) - Directory to store the crashreports temporarily (only used when the crash reporter is started via `process.crashReporter.start`) You are required to call this method before using any other `crashReporter` APIs and in each process (main/renderer) from which you want to collect crash reports.