Skip to content

Commit

Permalink
Log the error so its not entirely hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Dec 2, 2023
1 parent abae466 commit aa7e373
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tags/Glide.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ private function generateImage($item)

return $this->getGenerator()->generateByAsset(Asset::find($item), $params);
} catch (\Exception $e) {
\Log::error($e->getMessage());

return null;
}
}
Expand Down

0 comments on commit aa7e373

Please sign in to comment.