check_refresh_available() should handle the error, on failure clearing the snap.refresh-available.foo flag. Because there is no refresh available, because the snap store is unavailable.
check_refresh_ available( ) should handle the error, on failure clearing the snap.refresh- available. foo flag. Because there is no refresh available, because the snap store is unavailable.