Add Paddle sync log channel

This commit is contained in:
Codex Agent
2026-01-02 22:02:36 +01:00
parent 0430f0b1cc
commit bb67d68eba
7 changed files with 51 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ class SyncCouponToPaddle implements ShouldQueue
'paddle_last_synced_at' => now(),
])->save();
} catch (PaddleException $exception) {
Log::error('Failed syncing coupon to Paddle', [
Log::channel('paddle-sync')->error('Failed syncing coupon to Paddle', [
'coupon_id' => $this->coupon->id,
'message' => $exception->getMessage(),
'status' => $exception->status(),