mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Move crash-report object to it's own struct
This commit is contained in:
committed by
Zeke Sikelianos
parent
11f8923c43
commit
c1af62a3b3
@@ -58,20 +58,14 @@ crash reports.
|
||||
|
||||
### `crashReporter.getLastCrashReport()`
|
||||
|
||||
Returns `Object`:
|
||||
|
||||
* `date` String
|
||||
* `ID` Integer
|
||||
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.
|
||||
|
||||
### `crashReporter.getUploadedReports()`
|
||||
|
||||
Returns `Object[]`:
|
||||
|
||||
* `date` String
|
||||
* `ID` Integer
|
||||
Returns [`CrashReport[]`](structures/crash-report.md):
|
||||
|
||||
Returns all uploaded crash reports. Each report contains the date and uploaded
|
||||
ID.
|
||||
|
||||
4
docs/api/structures/crash-report.md
Normal file
4
docs/api/structures/crash-report.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# CrashReport Object
|
||||
|
||||
* `date` String
|
||||
* `ID` Integer
|
||||
Reference in New Issue
Block a user