mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
catch all the other errors?
This commit is contained in:
@@ -152,6 +152,8 @@ def install_jobs(module, user, tmpfile, cron_file):
|
||||
module.atomic_replace(dest_tmp, cron_file)
|
||||
except (OSError, IOError), e:
|
||||
return (1, "", str(e))
|
||||
except:
|
||||
return (1, "", str(e))
|
||||
else:
|
||||
return (0, "", "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user