From 4bfe30e5b5d1836d19d5976fc96351695aef8ea3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 7 Mar 2019 23:27:22 -0700 Subject: [PATCH] Update AP deliver job --- app/Jobs/StatusPipeline/StatusActivityPubDeliver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php b/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php index 519bf2b20..ef6b8f56a 100644 --- a/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php +++ b/app/Jobs/StatusPipeline/StatusActivityPubDeliver.php @@ -94,10 +94,10 @@ class StatusActivityPubDeliver implements ShouldQueue $pool = new Pool($client, $requests, [ 'concurrency' => config('pixelfed.ap_delivery_concurrency'), 'fulfilled' => function ($response, $index) { - Log::info('AP:deliver:success - ' . $response); + Log::info('AP:deliver:success - ' . json_encode($response)); }, 'rejected' => function ($reason, $index) { - Log::info('AP:deliver:rejected - ' . $reason); + Log::info('AP:deliver:rejected - ' . json_encode($reason)); } ]); $promise = $pool->promise();