Skip to content

Commit

Permalink
hotfix: SLACK LOG LEVEL default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Maras0830 authored Jun 9, 2022
1 parent fbcabe9 commit c7d3449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifications/SendLogToSlack.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function via()
{
$levels = $this->getLevels();

$explode_levels = explode(',', strtolower(env('SLACK_LOG_LEVEL')));
$explode_levels = explode(',', strtolower(env('SLACK_LOG_LEVEL', 'success')));

if (isset($levels[$this->event->level]) && in_array($levels[$this->event->level], $explode_levels)) {
return ['slack'];
Expand Down

0 comments on commit c7d3449

Please sign in to comment.