Skip to content

Commit 25cbbcb

Browse files
author
Stefania
committed
fixed stopUpload
1 parent 20442dd commit 25cbbcb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/daemon.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ export default class Daemon {
111111
if (typeof this.stopUploadCommand === 'function') {
112112
this.stopUploadCommand();
113113
}
114-
throw new Error('Stop Upload not supported on Chrome OS');
114+
else {
115+
throw new Error('Stop Upload not supported on Chrome OS');
116+
}
115117
}
116118

117119
initUpload() {

0 commit comments

Comments
 (0)