This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
[xdl] Handle errors when trying to sign the manifest #3148
Merged
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.
When the
ManifestHandler
tries to sign the manifest (requested by the client), automatically handle typical errors and fall back to offline mode:The project has an
![Screen Shot 2021-01-28 at 17 02 17](https://user-images.githubusercontent.com/497214/106159385-66540f00-618d-11eb-9ffe-48d25cb1b509.png)
owner
specified, but you lack permissions to that account -> fall back to offline mode! Fixes Not authorized error when running project in development with owner field #3062.You don't have an internet connection, which results in
![Screen Shot 2021-01-28 at 16 59 05](https://user-images.githubusercontent.com/497214/106159407-6c49f000-618d-11eb-8ff1-a1f1e9b6e479.png)
Error: getaddrinfo ENOTFOUND exp.host
-> fall back to offline mode! Fixes Automatically switch to offline mode when manifest can't be signed #238.