Skip to content

Update error handling when checking for network connectivity

Use Glib.NetworkMonitor.connectivity to work out if we should report an error thrown when checking reachability: Only report if we have full connectivity, otherwise retry.

Also, NetworkMonitor.can_reach may throw a DBus error if there is a problem talking to the portal under Flatpak. We should at least attempt to connect in this case.

Workaround for issue #97 (closed), see also #82 (closed)

Merge request reports