Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 226f398

Browse files
committed
Reverting rethrow
1 parent 31b5dc3 commit 226f398

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

package-mixins.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ module.exports = (NativeCodePush) => {
2727
const downloadedPackage = await NativeCodePush.downloadUpdate(this);
2828
reportStatusDownload && reportStatusDownload(this);
2929
return { ...downloadedPackage, ...local };
30-
} catch (e) {
31-
// Rethrow the error so that the caller of this method
32-
// is aware of the issue (e.g. the update was invalid)
33-
throw e;
34-
} finally {
30+
}
31+
finally {
3532
downloadProgressSubscription && downloadProgressSubscription.remove();
3633
}
3734
},

0 commit comments

Comments
 (0)