Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add try/catch when checking whether a token is supported by ntt #3354

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

M-Picco
Copy link
Collaborator

@M-Picco M-Picco commented Mar 12, 2025

The M0 route might throw an error when checking and thus cause the Promise.all to fail. Adding a try/catch will cover other routes as well.

[1] https://github.com/m0-foundation/ntt-sdk-route/blob/main/src/m0AutomaticRoute.ts#L131
[2] https://github.com/m0-foundation/ntt-sdk-route/blob/main/src/m0AutomaticRoute.ts#L107

Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for wormhole-connect ready!

Name Link
🔨 Latest commit cf9487f
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect/deploys/67d1c85dc380380008cbd823
😎 Deploy Preview https://deploy-preview-3354--wormhole-connect.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for wormhole-connect-mainnet ready!

Name Link
🔨 Latest commit cf9487f
🔍 Latest deploy log https://app.netlify.com/sites/wormhole-connect-mainnet/deploys/67d1c85dae1f750008f941fc
😎 Deploy Preview https://deploy-preview-3354--wormhole-connect-mainnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@aadam-10 aadam-10 merged commit 8bd526f into development Mar 12, 2025
16 checks passed
@aadam-10 aadam-10 deleted the fix/m0-is-supported branch March 12, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants