Skip to content

Commit

Permalink
Update Thread.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kaioken authored Jan 14, 2022
1 parent b769c48 commit 83b666f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Thread.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ protected function notificationLogs() : void
if (getenv('SENTRY_PROJECT')) {
if ($errors = $this->getErrors()) {
foreach ($errors as $error) {
if (empty($error['error'])) {
continue;
}
Di::getDefault()->get('log')->error($error['error']);
}
}
Expand Down

0 comments on commit 83b666f

Please sign in to comment.