From 34e9e261b0ece7279ddb6f0644e7fa0d5cff13f9 Mon Sep 17 00:00:00 2001 From: Wedge Date: Tue, 4 Sep 2018 02:13:47 +0300 Subject: [PATCH] Rescue syscall error instead --- app/services/abf_worker_service/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/abf_worker_service/base.rb b/app/services/abf_worker_service/base.rb index cb1212020..dc0f044c2 100644 --- a/app/services/abf_worker_service/base.rb +++ b/app/services/abf_worker_service/base.rb @@ -70,7 +70,7 @@ module AbfWorkerService sha1 = build_list.packages.pluck(:sha1).find do |sha1| begin !FileStoreService::File.new(sha1: sha1).exist? - rescue + rescue SystemCallError => e nil end end