Simplify and polish the code.

This commit is contained in:
Haojian Wu 2015-06-04 15:52:16 +08:00
parent 94382cbaa2
commit d5b47d1059
4 changed files with 21 additions and 35 deletions

View file

@ -29,7 +29,8 @@ crashReporter.start({
**Note:** On OS X, electron uses a new `crashpad` client, which is different
with the `breakpad` on Windows and Linux. To enable crash collection feature,
you are required to call `crashReporter.start` API to initiliaze `crashpad` in Browser Process, even you only collect crash report in Renderer Process.
you are required to call `crashReporter.start` API to initiliaze `crashpad` in
main process, even you only collect crash report in renderer process.
## crashReporter.getLastCrashReport()