Thanks to visit codestin.com
Credit goes to github.com

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

Commit 1ad7c71

Browse files
bigdrumnchanged
authored andcommitted
fix: Error propagation bug. (#1216)
1 parent 896184b commit 1ad7c71

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/core/Bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export class Bundle {
241241
}).then(source => {
242242
}).catch(e => {
243243
console.error(e);
244-
return reject(reject);
244+
return reject(e);
245245
});
246246
return this;
247247
});

src/core/FuseBox.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ export class FuseBox {
493493
return contents;
494494
}).catch(e => {
495495
console.log(e.stack || e);
496+
throw e;
496497
});
497498
}
498499
}

0 commit comments

Comments
 (0)