From e7da1f58f2223232f5f339a40aaaebb3feba3c39 Mon Sep 17 00:00:00 2001 From: Christopher Vollick <0@psycoti.ca> Date: Tue, 27 May 2025 12:06:02 -0400 Subject: [PATCH] Remove Redundant Scoping Rubocop tells me I don't need "::" Obviously... but I wrote it... I wonder if I used to have something else called Exception that this was distinguishing from at one point... --- bin/process_interac_email | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/process_interac_email b/bin/process_interac_email index ecbfb0b80587761b51e1b7195eba5f1d54b73e8e..0dd4f51131493965eb4cc1fe5f8700bf6384f3d5 100755 --- a/bin/process_interac_email +++ b/bin/process_interac_email @@ -56,7 +56,7 @@ EM.run do BlatherNotify.publish "#{uuid}": error_entry("💥 Exception #{e.class}", e, id_builder.call(uuid)) }.catch { |e| - if e.is_a?(::Exception) + if e.is_a?(Exception) Sentry.capture_exception(e) else Sentry.capture_message(e.to_s)