diff --git a/plugins/download.py b/plugins/download.py index eb123f7f5..aec6af3f2 100644 --- a/plugins/download.py +++ b/plugins/download.py @@ -100,7 +100,9 @@ def run(self): print(url) else: msg = _("Failed to get mirror for package: %s") % pkg.name - raise dnf.exceptions.Error(msg) + if self.base.conf.strict: + raise dnf.exceptions.Error(msg) + logger.warning(msg) return else: locations = self._do_downloads(pkgs) # download rpms