diff options
author | Simon L <szaimen@e.mail.de> | 2023-08-09 16:10:27 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-08-10 12:45:43 +0000 |
commit | 3f51e2d58bd806c0dfbc67a76a04b2aa97a8aee4 (patch) | |
tree | 8dd6d1ed38977b0c7851cca518d30c3c3949ab3f | |
parent | d97a58dde6c3b2372628fe545807f1c464d9875c (diff) | |
download | nextcloud-server-3f51e2d58bd806c0dfbc67a76a04b2aa97a8aee4.tar.gz nextcloud-server-3f51e2d58bd806c0dfbc67a76a04b2aa97a8aee4.zip |
log imaginary errors as info to not spam the server logs
Signed-off-by: Simon L <szaimen@e.mail.de>
-rw-r--r-- | lib/private/Preview/Imaginary.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Preview/Imaginary.php b/lib/private/Preview/Imaginary.php index ed8b9eaa838..291d983e1c3 100644 --- a/lib/private/Preview/Imaginary.php +++ b/lib/private/Preview/Imaginary.php @@ -147,14 +147,14 @@ class Imaginary extends ProviderV2 { 'connect_timeout' => 3, ]); } catch (\Exception $e) { - $this->logger->error('Imaginary preview generation failed: ' . $e->getMessage(), [ + $this->logger->info('Imaginary preview generation failed: ' . $e->getMessage(), [ 'exception' => $e, ]); return null; } if ($response->getStatusCode() !== 200) { - $this->logger->error('Imaginary preview generation failed: ' . json_decode($response->getBody())['message']); + $this->logger->info('Imaginary preview generation failed: ' . json_decode($response->getBody())['message']); return null; } |