Skip to content

Commit

Permalink
chore: add error handle on display private key rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyyconsensys committed Dec 11, 2024
1 parent 9a80c9b commit 99f200e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/wallet-ui/src/services/useStarkNetSnap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ export const useStarkNetSnap = () => {
},
});
} catch (err) {
//eslint-disable-next-line no-console
console.error(err);
if (!isUserDenyError(err)) {
throw err;
}
}
}

Expand Down

0 comments on commit 99f200e

Please sign in to comment.