Skip to content

Commit

Permalink
Fix: Error initializing the Safe Core SDK -> Error connecting to the …
Browse files Browse the repository at this point in the history
…blockchain
  • Loading branch information
katspaugh committed Jun 3, 2024
1 parent e9ed505 commit 4c982db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hooks/coreSDK/useInitSafeCoreSDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const useInitSafeCoreSDK = () => {
const e = asError(_e)
dispatch(
showNotification({
message: 'Please try connecting your wallet again.',
message: 'Error connecting to the blockchain. Please try reloading the page.',
groupKey: 'core-sdk-init-error',
variant: 'error',
detailedMessage: e.message,
Expand Down
2 changes: 1 addition & 1 deletion src/services/exceptions/ErrorCodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum ErrorCodes {
_101 = '101: Failed to resolve the address',
_103 = '103: Error creating a SafeTransaction',
_104 = '104: Invalid chain short name in the URL',
_105 = '105: Error initializing the Safe Core SDK',
_105 = '105: Error connecting to the blockchain',
_106 = '106: Failed to get connected wallet',

_302 = '302: Error connecting to the wallet',
Expand Down

0 comments on commit 4c982db

Please sign in to comment.