From 2c91de73af78a032c076dbad6dcdb85e22e82536 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Tue, 16 Jul 2019 12:55:55 +0300 Subject: [PATCH] * minor --- home/filter.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/filter.go b/home/filter.go index 4e509866..2a56a847 100644 --- a/home/filter.go +++ b/home/filter.go @@ -262,8 +262,7 @@ func refreshFiltersIfNecessary(force bool) int { if updateCount > 0 && isRunning { err := reconfigureDNSServer() if err != nil { - msg := fmt.Sprintf("SHOULD NOT HAPPEN: cannot reconfigure DNS server with the new filters: %s", err) - panic(msg) + log.Error("cannot reconfigure DNS server with the new filters: %s", err) } } return updateCount