From 54bd60d657c0f09aa9e4cb910dfb14bfffc17609 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 7 Sep 2017 06:07:28 +0200 Subject: [PATCH] add crashesDirectory to crash reporter options --- docs/api/crash-reporter.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 4c4b79ed9b..95004327f0 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -46,6 +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`) 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.