Skip to content

Commit

Permalink
Use \Throwable instead
Browse files Browse the repository at this point in the history
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf authored Oct 27, 2023
1 parent 0816bc7 commit 60ef45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Preview/Imaginary.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function getCroppedThumbnail(File $file, int $maxX, int $maxY, bool $crop
'timeout' => 120,
'connect_timeout' => 3,
]);
} catch (\GuzzleHttp\Exception\ClientException | \Exception $e) {
} catch (\Throwable $e) {
$this->logger->info('Imaginary preview generation failed: ' . $e->getMessage(), [
'exception' => $e,
]);
Expand Down

0 comments on commit 60ef45a

Please sign in to comment.