about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-01-16 00:13:28 -0600
committermultiple creatures <dev@multiple-creature.party>2020-01-16 00:13:28 -0600
commit753d06495189dd6ffd95ea91028cc2a03866e974 (patch)
tree617b6c0b80e95a6e0267b4a86a8a247f2e8b4d28 /app
parentc657d9dedac79593abc68a411c57301fcdbb35bb (diff)
`backtrace` -> `e.backtrace`
Diffstat (limited to 'app')
-rw-r--r--app/services/activitypub/fetch_account_statuses_service.rb2
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