#321: added rescue block into #run_mass_import
This commit is contained in:
parent
22b397b670
commit
7a872078ed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue