From 0578280623254c228a45ac32e997df71d95aa272 Mon Sep 17 00:00:00 2001 From: Brian Durand Date: Fri, 24 May 2024 11:28:11 -0700 Subject: [PATCH] code style --- lib/support_table_data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/support_table_data.rb b/lib/support_table_data.rb index 2de7e68..7c52f05 100644 --- a/lib/support_table_data.rb +++ b/lib/support_table_data.rb @@ -406,7 +406,7 @@ def support_table_dependencies(klass) next unless reflection.belongs_to? || reflection.through_reflection? dependencies << reflection.klass - rescue StandardError => e + rescue => e message = "Error inspecting reflection #{reflection.name} on #{klass.name}: #{e.inspect}" klass.logger&.warn(message) end