Pass real Error object in error event

This commit is contained in:
Cheng Zhao 2015-10-23 14:36:36 +08:00
parent d5c964c68c
commit 95fe4beda8
2 changed files with 10 additions and 4 deletions

View file

@ -110,8 +110,7 @@ The `autoUpdater` object emits the following events:
Returns:
* `event` Event
* `message` String
* `error` Error
Emitted when there is an error while updating.