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

@@ -85,7 +85,7 @@ class SyncPackageToPaddle implements ShouldQueue
],
])->save();
} catch (Throwable $exception) {
Log::error('Paddle package sync failed', [
Log::channel('paddle-sync')->error('Paddle package sync failed', [
'package_id' => $package->id,
'message' => $exception->getMessage(),
'exception' => $exception,
@@ -131,7 +131,7 @@ class SyncPackageToPaddle implements ShouldQueue
],
])->save();
Log::info('Paddle package dry-run snapshot generated', [
Log::channel('paddle-sync')->info('Paddle package dry-run snapshot generated', [
'package_id' => $package->id,
]);
}