Skip to content

Commit

Permalink
ignore msg sentry query faild
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Feb 24, 2025
1 parent ab8720f commit 75a4fdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const WalletByNetwork = ({ walletProvider }: { walletProvider: WalletProv
await retry(
async () => {
try {
await solanaWallet.connect();
await solanaWallet?.connect();
} catch (err) {
console.log('err', err);
}
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if (import.meta.env.VITE_APP_SENTRY_ENVIRONMENT === 'production') {
'Request rejected',
'Failed to fetch',
'Load failed',
'Query failed',
'User rejected the request',
'Network Error',
'Object captured as promise rejection',
Expand Down

0 comments on commit 75a4fdd

Please sign in to comment.