diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-01-16 00:13:28 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-01-16 00:13:28 -0600 |
commit | 753d06495189dd6ffd95ea91028cc2a03866e974 (patch) | |
tree | 617b6c0b80e95a6e0267b4a86a8a247f2e8b4d28 /app | |
parent | c657d9dedac79593abc68a411c57301fcdbb35bb (diff) |
`backtrace` -> `e.backtrace`
Diffstat (limited to 'app')
-rw-r--r-- | app/services/activitypub/fetch_account_statuses_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/fetch_account_statuses_service.rb b/app/services/activitypub/fetch_account_statuses_service.rb index bc47fa119..6a0d90f3c 100644 --- a/app/services/activitypub/fetch_account_statuses_service.rb +++ b/app/services/activitypub/fetch_account_statuses_service.rb @@ -94,6 +94,6 @@ class ActivityPub::FetchAccountStatusesService < BaseService ActivityPub::Activity.factory(item, @account, requested: true)&.perform rescue => e Rails.logger.error("Failed to process #{item['type']} #{item['id']} due to #{e}: #{e.message}") - Rails.logger.error("Stack trace: #{backtrace.map {|l| " #{l}\n"}.join}") + Rails.logger.error("Stack trace: #{e.backtrace.map {|l| " #{l}\n"}.join}") end end |