diff --git a/lib/modules/models/git.rb b/lib/modules/models/git.rb index 169d36869..c60ca5869 100644 --- a/lib/modules/models/git.rb +++ b/lib/modules/models/git.rb @@ -235,6 +235,8 @@ module Modules File.delete srpm_file if srpm_file end end + rescue => e + Airbrake.notify_or_ignore(e, :url => url, :owner => owner) ensure FileUtils.remove_entry_secure dir if dir end