From: Cheng Zhao Date: Tue, 11 Nov 2014 12:20:36 +0000 (+0800) Subject: docs: crashRepoter.getLastCrashReport X-Git-Tag: v0.19.2~21^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=62fd76f7e415501bf587966110f4c793debc407e;p=electron.git docs: crashRepoter.getLastCrashReport --- diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index 233dd1f1..3d0cf546 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -27,6 +27,11 @@ crashReporter.start({ * Only string properties are send correctly. * Nested objects are not supported. +## crashReporter.getLastCrashReport() + +Returns the date and ID of last crash report, when there was no crash report +sent or the crash reporter is not started, `null` will be returned. + # crash-reporter payload The crash reporter will send the following data to the `submitUrl` as `POST`: