summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-24 22:43:17 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-24 22:43:17 +0100
commitb8812c8cba81d6ee07f510428e8c25ee3d7391eb (patch)
treef6eea8df1f6348fec2307d10ef2278524eb485c9 /lib/private/Server.php
parenta7e7f5e18098ff0f536e58a7e1e5dfdc825e9086 (diff)
parent54e750ba7845d0333cdb0fdccdb54f1432b2c161 (diff)
downloadnextcloud-server-b8812c8cba81d6ee07f510428e8c25ee3d7391eb.tar.gz
nextcloud-server-b8812c8cba81d6ee07f510428e8c25ee3d7391eb.zip
Merge pull request #23154 from owncloud/avatar-save-failure
dont die when we cant save the resized avatar, log instead
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 48ee4b27d32..392b2b17b9c 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -313,7 +313,8 @@ class Server extends ServerContainer implements IServerContainer {
return new AvatarManager(
$c->getUserManager(),
$c->getRootFolder(),
- $c->getL10N('lib')
+ $c->getL10N('lib'),
+ $c->getLogger()
);
});
$this->registerService('Logger', function (Server $c) {