Skip to content

Commit b952e62

Browse files
authored
add missing else block (#853)
1 parent ba92cc8 commit b952e62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/shared/utils/transaction/insert-transaction.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ export const insertTransaction = async (
9595
} catch (e) {
9696
if (e instanceof WalletDetailsError) {
9797
// do nothing. The this is a smart backend wallet using a v4 endpoint
98+
} else {
99+
// if other type of error, rethrow
100+
throw e;
98101
}
99-
// if other type of error, rethrow
100-
throw e;
101102
}
102103

103104
if (!walletDetails && queuedTransaction.accountAddress) {

0 commit comments

Comments
 (0)