From 14602f55d5a4319a7162a8f275fed380a8d0c7b2 Mon Sep 17 00:00:00 2001 From: "trop[bot]" Date: Wed, 20 Mar 2019 22:04:09 -0700 Subject: [PATCH] docs: clarify documentation for getLastCrashReport (backport: 5-0-x) (#17493) * docs: clarify documentation for getLastCrashReport * address feedback --- docs/api/crash-reporter.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/api/crash-reporter.md b/docs/api/crash-reporter.md index dcd64a3bbd2ec..c0572269ee58a 100644 --- a/docs/api/crash-reporter.md +++ b/docs/api/crash-reporter.md @@ -95,8 +95,7 @@ them will get reported without `companyName`, `productName` or any of the `extra Returns [`CrashReport`](structures/crash-report.md): -Returns the date and ID of the last crash report. If no crash reports have been -sent or the crash reporter has not been started, `null` is returned. +Returns the date and ID of the last crash report. Only crash reports that have been uploaded will be returned; even if a crash report is present on disk it will not be returned until it is uploaded. In the case that there are no uploaded reports, `null` is returned. ### `crashReporter.getUploadedReports()`