log activity pub messages to error log
This commit is contained in:
parent
4b9e4f6398
commit
4f371a6306
2 changed files with 5 additions and 0 deletions
app/workers/activitypub
|
@ -25,6 +25,8 @@ class ActivityPub::DeliveryWorker
|
|||
def perform(json, source_account_id, inbox_url, options = {})
|
||||
return unless DeliveryFailureTracker.available?(inbox_url)
|
||||
|
||||
Rails.logger.error "=====PUSH===== #{json}"
|
||||
|
||||
@options = options.with_indifferent_access
|
||||
@json = json
|
||||
@source_account = Account.find(source_account_id)
|
||||
|
|
|
@ -6,6 +6,9 @@ class ActivityPub::ProcessingWorker
|
|||
sidekiq_options queue: 'ingress', backtrace: true, retry: 8
|
||||
|
||||
def perform(actor_id, body, delivered_to_account_id = nil, actor_type = 'Account')
|
||||
|
||||
Rails.logger.error "=====INGRESS===== #{body}"
|
||||
|
||||
case actor_type
|
||||
when 'Account'
|
||||
actor = Account.find_by(id: actor_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue