This commit is contained in:
Simon Zolin 2019-07-16 12:55:55 +03:00
parent 94f3bf44d7
commit 2c91de73af
1 changed files with 1 additions and 2 deletions

View File

@ -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