docs: clarify documentation for getLastCrashReport (backport: 4-1-x) (#17494)

* docs: clarify documentation for getLastCrashReport

* address feedback
This commit is contained in:
trop[bot]
2019-03-20 22:04:15 -07:00
committed by Shelley Vohr
parent 98180568f2
commit 5b9393c173

View File

@@ -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()`