Skip to content

Commit

Permalink
fix: atomicSync propagate error
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Nov 7, 2024
1 parent 9206669 commit 34f3fcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mpcCoreKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,8 @@ export class Web3AuthMPCCoreKit implements ICoreKit {
}
}
return r;
} catch (error) {
throw error as Error;
} finally {
this.atomicCallStackCounter -= 1;
if (this.atomicCallStackCounter === 0) {
Expand Down

0 comments on commit 34f3fcf

Please sign in to comment.