Enable Discovery debug logging for production troubleshooting

- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
2025-08-11 20:13:26 +02:00
parent 59fd3dd3b1
commit 55a330b223
3683 changed files with 2956207 additions and 16948 deletions

View File

@@ -1,9 +1,9 @@
<?php
declare(strict_types=1);
namespace App\Infrastructure\Api;
use App\Framework\Api\ApiException;
use App\Framework\Api\ApiRequestTrait;
use App\Framework\Http\Method;
use App\Framework\HttpClient\AuthConfig;
@@ -37,7 +37,7 @@ final class ShopifyClient
$this->defaultOptions = new ClientOptions(
auth: AuthConfig::custom([
'headers' => ['X-Shopify-Access-Token' => $accessToken]
'headers' => ['X-Shopify-Access-Token' => $accessToken],
])
);
@@ -266,8 +266,8 @@ final class ShopifyClient
'webhook' => [
'topic' => $topic,
'address' => $address,
'format' => $format
]
'format' => $format,
],
]
);
@@ -370,6 +370,7 @@ final class ShopifyClient
if (preg_match('/^(\d+)\/(\d+)$/', $limitHeader, $matches)) {
$current = (int)$matches[1];
$limit = (int)$matches[2];
return $limit - $current;
}