diff options
author | Robin Appelman <icewind@owncloud.com> | 2016-03-11 13:44:35 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2016-03-11 13:44:35 +0100 |
commit | 54e750ba7845d0333cdb0fdccdb54f1432b2c161 (patch) | |
tree | 9b2056424ea8a75e06581e95abdbca90da60829c /lib/private/Server.php | |
parent | 750ec93394b76a3af4d45b32fd3b4dd788d431cf (diff) | |
download | nextcloud-server-54e750ba7845d0333cdb0fdccdb54f1432b2c161.tar.gz nextcloud-server-54e750ba7845d0333cdb0fdccdb54f1432b2c161.zip |
dont die when we cant save the resized avatar, log instead
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 81187cdd715..70c16dd41a4 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -312,7 +312,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) { |