From f8e116f1464ce08e6c437d536d4b3b67eeb80a86 Mon Sep 17 00:00:00 2001 From: KirIgor Date: Tue, 7 Jul 2026 17:05:35 +0600 Subject: [PATCH] fix --- Gemfile.lock | 2 +- lib/umbrellio_utils/large_object.rb | 4 +--- lib/umbrellio_utils/version.rb | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 5d06f19..d40faa3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - umbrellio-utils (1.14.2) + umbrellio-utils (1.14.3) memery (~> 1) GEM diff --git a/lib/umbrellio_utils/large_object.rb b/lib/umbrellio_utils/large_object.rb index 12df8d7..26a0b73 100644 --- a/lib/umbrellio_utils/large_object.rb +++ b/lib/umbrellio_utils/large_object.rb @@ -41,9 +41,7 @@ def read(*) end def delete! - run(:lo_unlink, oid) - rescue Sequel::DatabaseError - # Ignored + run(:lo_unlink, oid) if exists? end def exists? diff --git a/lib/umbrellio_utils/version.rb b/lib/umbrellio_utils/version.rb index e8905df..f5b09cb 100644 --- a/lib/umbrellio_utils/version.rb +++ b/lib/umbrellio_utils/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module UmbrellioUtils - VERSION = "1.14.2" + VERSION = "1.14.3" end