Rescue syscall error instead
This commit is contained in:
parent
585295b50e
commit
34e9e261b0
|
@ -70,7 +70,7 @@ module AbfWorkerService
|
||||||
sha1 = build_list.packages.pluck(:sha1).find do |sha1|
|
sha1 = build_list.packages.pluck(:sha1).find do |sha1|
|
||||||
begin
|
begin
|
||||||
!FileStoreService::File.new(sha1: sha1).exist?
|
!FileStoreService::File.new(sha1: sha1).exist?
|
||||||
rescue
|
rescue SystemCallError => e
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue