Add Paddle sync log channel
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user