Skip to content

flatpak: Don't return network-related error on refine if offline

If the machine is offline and fetching the metadata results in an error, simply print a warning, instead of returning the error which results as an error banner.

This is in order to prevent the very annoying recurring error banner when e.g. searching, or going into an app's details while offline.


Patch originally by @jrocha; tweaked by me to use g_debug() rather than g_warning() and to tweak the commit message.

Merge request reports