diff --git a/app/sidekiq/education_form/send_school_certifying_officials_email.rb b/app/sidekiq/education_form/send_school_certifying_officials_email.rb index 38ba0f9ddd1..d392f53451b 100644 --- a/app/sidekiq/education_form/send_school_certifying_officials_email.rb +++ b/app/sidekiq/education_form/send_school_certifying_officials_email.rb @@ -32,12 +32,10 @@ def self.sco_emails(scos) private def get_institution(facility_code) - begin - GI::Client.new.get_institution_details_v0({ id: facility_code }).body[:data][:attributes] - rescue Common::Exceptions::RecordNotFound - StatsD.increment("#{stats_key}.skipped.institution_not_approved") - nil - end + GI::Client.new.get_institution_details_v0({ id: facility_code }).body[:data][:attributes] + rescue Common::Exceptions::RecordNotFound + StatsD.increment("#{stats_key}.skipped.institution_not_approved") + nil end def school_changed?