Skip to content

Conversation

@ryumy97
Copy link

@ryumy97 ryumy97 commented Oct 13, 2025

Add try and catch to StatsigClient initializeAsync function

Closes #356


Check to run optional actions

  • /end-to-end-tests

@vercel
Copy link

vercel bot commented Oct 13, 2025

@ryumy97 is attempting to deploy a commit to the Triplex Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
triplex-cloud Ignored Ignored Preview Oct 13, 2025 4:40am
triplex-docs Ignored Ignored Preview Oct 13, 2025 4:40am

@itsdouges
Copy link
Collaborator

did you test this locally by turning off internet? :-)

try {
await client.initializeAsync();
}
catch(error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this will be formatted differently by prettier

if you run pnpm run install-git-hooks it'll auto format for you on commit

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

:(

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh no, cheeky husky

@itsdouges
Copy link
Collaborator

I downloaded your branch and... it still fails to bootstrap when offline haha

Why I wonder! 🤔

@ryumy97
Copy link
Author

ryumy97 commented Oct 13, 2025

did you test this locally by turning off internet? :-)

image

Yes, so I have ran the test - 2 failures.

playwright was not up to date so I've installed that and reran those test again.

image

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.

Triplex should be able to be start when internet is unavailable

2 participants