about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-09-21 14:48:35 +0200
committerGitHub <noreply@github.com>2022-09-21 14:48:35 +0200
commit84aff598ea0b5670ef2a0d1009bca9c9136c2d50 (patch)
tree3c90e617e6ad22f546fce916078806b0c5057e27
parent1cc32dd50c88934b086ca20c36318b937d5ece04 (diff)
Fix typo in SignatureVerification (#19209)
Fix regression from #15605
-rw-r--r--app/controllers/concerns/signature_verification.rb2
1 files changed, 1 insertions, 1 deletions
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'