Skip to content

Commit 7be5391

Browse files
committed
fix: Auto updater "error" event does not contain error message
Closes #900
1 parent 87f5ea7 commit 7be5391

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nsis-auto-updater/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "electron-auto-updater",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "NSIS Auto Updater",
55
"main": "out/nsis-auto-updater/src/main.js",
66
"author": "Vladimir Krivosheev",

nsis-auto-updater/src/NsisUpdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class NsisUpdater extends EventEmitter {
5656

5757
this.emit("checking-for-update")
5858
try {
59-
return this.doCheckForUpdates()
59+
return await this.doCheckForUpdates()
6060
}
6161
catch (e) {
6262
this.emit("error", e, (e.stack || e).toString())

0 commit comments

Comments
 (0)