Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Stop errors in fetching image providers from breaking the whole app #22

Merged
merged 3 commits into from
Apr 13, 2021

Conversation

obulat
Copy link
Contributor

@obulat obulat commented Apr 12, 2021

This PR adds a try-catch block to the app initialization, so that when the API for fetching image providers is unavailable, the app can still start and use previously loaded list of image providers.

@obulat obulat requested a review from zackkrida April 12, 2021 13:40
@zackkrida
Copy link
Member

@obulat It looks like one of the tab accessibility commits got mixed up in here. Please remove and you're welcome to merge this after that, it's a great fix. Thanks!

@obulat obulat merged commit be2206a into WordPress:develop Apr 13, 2021
@obulat obulat deleted the api_catch branch April 13, 2021 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants