You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand the source code correctly, if GitHub is down or there is some kind of network availability issue, RemoteFetch::remoteFetchBundles() is going to throw a TransferException from Guzzle. Do I have this right? In other words, to properly use this class, we should wrap calls to getLatestBundle() in try/catch and fall back to the Fetch class?
The text was updated successfully, but these errors were encountered:
Ultimately, falling back to the Fetch class as a last ditch effort if both Github and whatever backup you use are down is a good idea, but if you're having a network availability error, the ensuing HTTPS request will also fail.
Hello,
If I understand the source code correctly, if GitHub is down or there is some kind of network availability issue,
RemoteFetch::remoteFetchBundles()
is going to throw aTransferException
from Guzzle. Do I have this right? In other words, to properly use this class, we should wrap calls togetLatestBundle()
in try/catch and fall back to theFetch
class?The text was updated successfully, but these errors were encountered: