Skip to content

Commit c3bf5e5

Browse files
Chore: Add debug logs for apprise (alexjustesen#2654)
Co-authored-by: Alex Justesen <[email protected]>
1 parent 3fa025d commit c3bf5e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/Notifications/AppriseChannel.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ public function send(object $notifiable, Notification $notification): void
3232
return;
3333
}
3434

35+
Log::debug('Attempting to send Apprise notification', [
36+
'channel' => $message->urls,
37+
'instance' => $appriseUrl,
38+
]);
39+
3540
try {
3641
$request = Http::timeout(30)
3742
->withHeaders([
@@ -57,7 +62,7 @@ public function send(object $notifiable, Notification $notification): void
5762
throw new Exception('Apprise returned an error, please check Apprise logs for details');
5863
}
5964

60-
Log::info('Apprise notification sent', [
65+
Log::debug('Apprise notification sent', [
6166
'channel' => $message->urls,
6267
'instance' => $appriseUrl,
6368
]);

0 commit comments

Comments
 (0)