diff options
Diffstat (limited to 'apps/files_trashbin/lib/Storage.php')
-rw-r--r-- | apps/files_trashbin/lib/Storage.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 5eaf502f236..e6609034f91 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -130,8 +130,11 @@ class Storage extends Wrapper { } } catch (\Exception $e) { // do nothing, in this case we just disable the trashbin and continue - $logger = \OC::$server->getLogger(); - $logger->debug('Trashbin storage could not check if a file was moved out of a shared folder: ' . $e->getMessage()); + \OC::$server->getLogger()->logException($e, [ + 'message' => 'Trashbin storage could not check if a file was moved out of a shared folder.', + 'level' => \OCP\Util::DEBUG, + 'app' => 'files_trashbin', + ]); } if($fileMovedOutOfSharedFolder) { |