-
Notifications
You must be signed in to change notification settings - Fork 365
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
fix: gracefully fail Edge Functions in case of deno binary issues #4685
Merged
jackiewmacharia
merged 20 commits into
main
from
fix/gracefully-fail-in-case-deno-binary-issue
Jun 23, 2022
Merged
Changes from 14 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
578aad6
fix: gracefully fail in case deno binary issue
jackiewmacharia b5ed9ce
fix: fix linting
jackiewmacharia 06b3f64
fix: fix typo
jackiewmacharia 3fcb21c
Merge branch 'main' into fix/gracefully-fail-in-case-deno-binary-issue
jackiewmacharia 48c8101
fix: update error text
jackiewmacharia aae01e0
fix: move error message to edge-bundler
jackiewmacharia 5066fba
fix: log error
jackiewmacharia 86254fe
chore: update contributors field
jackiewmacharia de3c686
fix: get spinner stae from error object
jackiewmacharia 2de6cba
Merge branch 'fix/gracefully-fail-in-case-deno-binary-issue' of githuβ¦
jackiewmacharia 9b399e3
Merge branch 'main' into fix/gracefully-fail-in-case-deno-binary-issue
jackiewmacharia b6dee4a
Merge branch 'main' into fix/gracefully-fail-in-case-deno-binary-issue
jackiewmacharia 6c2f344
chore: move error handling to initializeProxy and use custom error loβ¦
jackiewmacharia 1f146ae
fix: reduce functionality covered by try/catch
jackiewmacharia 9474027
fix: clean up catch block
jackiewmacharia 257cd54
fix: fix linting
jackiewmacharia b41906a
chore: optional error value for onAfterDownload
jackiewmacharia 72be888
Merge branch 'main' into fix/gracefully-fail-in-case-deno-binary-issue
jackiewmacharia 064dd07
Merge branch 'main' into fix/gracefully-fail-in-case-deno-binary-issue
jackiewmacharia df7f247
Merge branch 'main' into fix/gracefully-fail-in-case-deno-binary-issue
jackiewmacharia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry if this wasn't clear in my previous comment, but I was trying to suggest that you only wrap the
Promise.all
call in thetry/catch
, not the entire block. Otherwise we're back to the problem of wrapping too much code and potentially swallowing errors.Something like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aaah I see, done.