mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
refactor: use DI-injected logger instead of Server::get
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
This commit is contained in:
parent
aadf842039
commit
93b258317d
1 changed files with 1 additions and 1 deletions
|
|
@ -781,7 +781,7 @@ class CloudFederationProviderFiles implements ISignedCloudFederationProvider {
|
|||
try {
|
||||
$slaveService = Server::get(SlaveService::class);
|
||||
} catch (\Throwable $e) {
|
||||
Server::get(LoggerInterface::class)->error(
|
||||
$this->logger->error(
|
||||
$e->getMessage(),
|
||||
['exception' => $e]
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue