Skip to content

Handle missing downloads gracefully#353

Merged
sbc100 merged 2 commits intomasterfrom
fix_exception
Sep 13, 2019
Merged

Handle missing downloads gracefully#353
sbc100 merged 2 commits intomasterfrom
fix_exception

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 12, 2019

Previously we were asserting and generating a stack track if a
download failed. However the assert is only relevant if the download
succeeds.

Also:

  • Remove an unused function
  • Remove extra braces from tuple destructuring

Previously we were asserting and generating a stack track if a
download failed.  However the assert is only relevant if the download
succeeds.

Also:

- Remove an unused function
- Remove extra braces from tuple destructuring
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Looks like there is one call to download_and_unzip that does not check the return value, in update_emsdk, so this change might have an effect there. Maybe worth adding a check there and print an error if the download failed?

@sbc100 sbc100 merged commit 252410a into master Sep 13, 2019
@sbc100 sbc100 deleted the fix_exception branch September 13, 2019 21:53
@kripken kripken mentioned this pull request Sep 21, 2019
vargaz pushed a commit to vargaz/emsdk that referenced this pull request Nov 22, 2023
Contributes to dotnet/source-build#3435

Adds comments to source-build files asking for the inclusion of the source-build team in PRs that alter `SourceBuild*` files. Non-reviewed changes could potentially cause issues down the line, be it in the downstream repos or the product build (as has happened in the past, see dotnet/source-build#3435 (comment))
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.

2 participants