Skip to content

Commit

Permalink
Changed log level to error when failing a job via the tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Nov 28, 2024
1 parent 4359d1a commit 24285bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JobTracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function failed(?string $message = null): void
{
if (null !== $model = $this->model()) {
if ($message) {
$model->logInfo($message);
$model->logError($message);
}

$model->update(['failed_at' => Carbon::now()]);
Expand Down

0 comments on commit 24285bc

Please sign in to comment.