Add the exception message to error log after tfa caching failure

This commit is contained in:
Bubka 2024-04-26 10:54:54 +02:00
parent de4e35267d
commit 58d97de56d

View File

@ -107,7 +107,7 @@ class LogoService
? Log::info('Fresh tfa.json saved to logos dir') ? Log::info('Fresh tfa.json saved to logos dir')
: Log::notice('Cannot save tfa.json to logos dir'); : Log::notice('Cannot save tfa.json to logos dir');
} catch (\Exception $e) { } catch (\Exception $e) {
Log::error('Caching of tfa.json failed'); Log::error('Caching of tfa.json failed:' . $e->getMessage());
} }
} }