From 57cd131f38390e9630a9fdd5a5c5594da54b9783 Mon Sep 17 00:00:00 2001 From: Wedge Date: Tue, 4 Sep 2018 02:21:49 +0300 Subject: [PATCH] I don't even know what's going on anymore --- 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 dc0f044c2..4d83995ff 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 SystemCallError => e + rescue Errno::EBUSY => e nil end end