Skip to content

Commit

Permalink
Merge pull request #233 from bnb-chain/feat/tokenApi1216
Browse files Browse the repository at this point in the history
chore: Remove error return value
  • Loading branch information
Halibao-Lala authored Dec 30, 2024
2 parents 800dfc0 + 003572b commit c90a101
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/canonical-bridge-server/src/shared/web3/web3.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export class Web3Service {
return data;
} catch (e) {
console.error(`Failed to retrieve cBridge data at ${new Date().getTime()}`, e.message);
return {};
}
}

Expand All @@ -80,7 +79,6 @@ export class Web3Service {
return data;
} catch (e) {
console.error(`Failed to retrieve DeBridge chain data at ${new Date().getTime()}`, e.message);
return { chains: [] };
}
}

Expand All @@ -96,7 +94,6 @@ export class Web3Service {
`Failed to retrieve DeBridge token data from ${chainId} at ${new Date().getTime()}`,
e.message,
);
return { tokens: {} };
}
}

Expand All @@ -118,7 +115,6 @@ export class Web3Service {
return processedTokenList;
} catch (e) {
console.error(`Failed to retrieve Stargate API data at ${new Date().getTime()}`, e.message);
return [];
}
}

Expand Down

0 comments on commit c90a101

Please sign in to comment.