Don't count a delivery as successful if the response is not tracked by Stoplight
This commit is contained in:
parent
78ef635980
commit
8eadd119a3
@ -53,7 +53,7 @@ class ActivityPub::DeliveryWorker
|
||||
build_request(http_client).perform do |response|
|
||||
raise Mastodon::UnexpectedResponseError, response unless response_successful?(response) || response_error_unsalvageable?(response)
|
||||
|
||||
@performed = true
|
||||
@performed = response_successful?(response)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user