diff options
author | Simon L <szaimen@e.mail.de> | 2023-08-09 16:10:27 +0200 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2023-08-09 16:10:27 +0200 |
commit | 46dfb84bca5b7e9ae922e33a6c1767f532235bc1 (patch) | |
tree | 18be073fe60ac8edcc021872183171b5980e0bc4 /lib/private/Preview | |
parent | 5fcb19c3987013b0db75962a39c582c8eb0570c7 (diff) | |
download | nextcloud-server-46dfb84bca5b7e9ae922e33a6c1767f532235bc1.tar.gz nextcloud-server-46dfb84bca5b7e9ae922e33a6c1767f532235bc1.zip |
log imaginary errors as info to not spam the server logs
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'lib/private/Preview')
-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 74f04e09250..da4864b1a22 100644 --- a/lib/private/Preview/Imaginary.php +++ b/lib/private/Preview/Imaginary.php @@ -148,14 +148,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; } |