Skip to content

Commit

Permalink
Merge pull request #2 from darkunz/master
Browse files Browse the repository at this point in the history
add checking if index 4 on message exist
  • Loading branch information
kop committed Aug 21, 2015
2 parents aab925e + 9df3e4e commit 144fea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LogentriesTarget.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function export()
$monolog->addRecord(
$this->_monologLevels[$message[1]],
$this->formatMessage($message),
is_array($message[4]) ? $message[4] : []
isset($message[4]) && is_array($message[4]) ? $message[4] : []
);
}
}
Expand Down

0 comments on commit 144fea0

Please sign in to comment.