0
0
Fork 0

Fix URLs appearing twice in errors of ActivityPub::DeliveryWorker (#11231)

This commit is contained in:
Eugen Rochko 2019-07-07 03:37:01 +02:00 committed by GitHub
parent 58276715be
commit 406b46395d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 6 deletions

View file

@ -59,7 +59,7 @@ class Request
begin
response = http_client.public_send(@verb, @url.to_s, @options.merge(headers: headers))
rescue => e
raise e.class, "#{e.message} on #{@url}", e.backtrace[0]
raise e.class, "#{e.message} on #{@url}", e.backtrace
end
begin