From 3487dd22e3e591063cee49d32eff55c951083188 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Sat, 29 Oct 2016 17:17:09 -0500 Subject: uri-tester: Avoid spurious HTTPS Everywhere update warning This is not an unexpected condition, we don't need to warn about it. --- embed/ephy-uri-tester.c | 1 + 1 file changed, 1 insertion(+) (limited to 'embed/ephy-uri-tester.c') diff --git a/embed/ephy-uri-tester.c b/embed/ephy-uri-tester.c index 61428f576..c645bfef9 100644 --- a/embed/ephy-uri-tester.c +++ b/embed/ephy-uri-tester.c @@ -988,6 +988,7 @@ https_everywhere_update_cb (HTTPSEverywhereUpdater *updater, if (error) { if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) && + !g_error_matches (error, HTTPS_EVERYWHERE_UPDATE_ERROR, HTTPS_EVERYWHERE_UPDATE_ERROR_IN_PROGRESS) && !g_error_matches (error, HTTPS_EVERYWHERE_UPDATE_ERROR, HTTPS_EVERYWHERE_UPDATE_ERROR_NO_UPDATE_AVAILABLE)) g_warning ("Failed to update HTTPS Everywhere rulesets: %s", error->message); g_error_free (error); -- cgit v1.2.1