Suppress backtrace when failed to communicate with a remote instance (#5076)
This commit is contained in:
parent
2f079573ed
commit
a0bbeafb04
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ class Pubsubhubbub::DeliveryWorker
|
|||
@payload = payload
|
||||
process_delivery unless blocked_domain?
|
||||
rescue => e
|
||||
raise e.class, "Delivery failed for #{subscription&.callback_url}: #{e.message}"
|
||||
raise e.class, "Delivery failed for #{subscription&.callback_url}: #{e.message}", e.backtrace[0]
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue