]> cat aescling's git repositories - mastodon.git/commitdiff
Fix typo in SignatureVerification (#19209)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 21 Sep 2022 12:48:35 +0000 (14:48 +0200)
committeraescling <aescling+gitlab@cat.family>
Thu, 17 Nov 2022 03:03:50 +0000 (22:03 -0500)
Fix regression from #15605

app/controllers/concerns/signature_verification.rb

index 89dc828f45537ac7450e41f67313469cd056e0ad..4da068aed848e21afd44176ff2b02784d99fb3f6 100644 (file)
@@ -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'