From: Claire Date: Wed, 21 Sep 2022 12:48:35 +0000 (+0200) Subject: Fix typo in SignatureVerification (#19209) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=b5237f0807fc3033b857af6485c1fbb9cf6d4806;p=mastodon.git Fix typo in SignatureVerification (#19209) Fix regression from #15605 --- diff --git a/app/controllers/concerns/signature_verification.rb b/app/controllers/concerns/signature_verification.rb index 89dc828f4..4da068aed 100644 --- a/app/controllers/concerns/signature_verification.rb +++ b/app/controllers/concerns/signature_verification.rb @@ -98,7 +98,7 @@ module SignatureVerification fail_with! e.message rescue HTTP::Error, OpenSSL::SSL::SSLError => e fail_with! "Failed to fetch remote data: #{e.message}" - rescue Mastodon::UnexptectedResponseError + rescue Mastodon::UnexpectedResponseError fail_with! 'Failed to fetch remote data (got unexpected reply from server)' rescue Stoplight::Error::RedLight fail_with! 'Fetching attempt skipped because of recent connection failure'