Skip to content

Commit

Permalink
Check is Notification message is available before logging it in catch…
Browse files Browse the repository at this point in the history
… statement (#9)
  • Loading branch information
Percy Mamedy authored Sep 7, 2020
1 parent 79bdee5 commit fe89829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SailthruChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function send(
$notification,
'sailthru',
[
'message' => $message,
'message' => isset($message) ? $message : null,
'exception' => $e,
]
)
Expand Down

0 comments on commit fe89829

Please sign in to comment.