about summary refs log tree commit diff
diff options
context:
space:
mode:
-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