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

Don't fail sde update command when network fails #329

Closed

Conversation

recursivetree
Copy link
Contributor

When I'm in school, I sometimes have some time to develop on seat modules. If I start the docker containers, it checks for a new sde, which isn't bad. My school wifi has the problem that it allows traffic to github but not to fuzzworks, meaning the command sees the new update, but can't load it and it fails, preventing me from getting the containers up. This pr fixes this, it just skips the sde update if it can't load the new sde. Being on an old sde for a few days is normally not a problem.

I made these changes a long time ago, only now I submit them as pr

@warlof
Copy link
Member

warlof commented Aug 22, 2022

I think we still need to log exception if doing this.
However, I wonder if try/catch should be in getSde method rather than the place where it's called.

@recursivetree
Copy link
Contributor Author

Exception logging makes sense. Try/catch can be moved around, sure

@recursivetree recursivetree deleted the sde-update-improvements branch January 10, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants