diff --git a/pungi/gather_dnf.py b/pungi/gather_dnf.py index 89942efb..b8cc0bfd 100644 --- a/pungi/gather_dnf.py +++ b/pungi/gather_dnf.py @@ -860,7 +860,7 @@ class Gather(GatherBase): # Link downloaded package in (or link package from file repo) try: linker.hardlink(pkg.localPkg(), target) - except: + except Exception: self.logger.error("Unable to link %s from the yum cache." % pkg.name) raise