diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-06-23 16:09:00 -0500 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-06-23 16:09:00 -0500 |
commit | b4fa812a3d5d430d10afafdcedae21e96e930de0 (patch) | |
tree | 4984a1bdcfd7a609b0f3c8a7c81c53d35cd3c630 /apps | |
parent | 944e5601557673994ad212e1ce3eabc1b6897335 (diff) | |
download | nextcloud-server-b4fa812a3d5d430d10afafdcedae21e96e930de0.tar.gz nextcloud-server-b4fa812a3d5d430d10afafdcedae21e96e930de0.zip |
Improve logging of trash bin inconsistencies
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/Trashbin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index 48dc3fbd055..75035b8bab6 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -386,7 +386,7 @@ class Trashbin { if ($timestamp) { $location = self::getLocation($user, $filename, $timestamp); if ($location === false) { - \OCP\Util::writeLog('files_trashbin', 'trash bin database inconsistent!', \OCP\Util::ERROR); + \OCP\Util::writeLog('files_trashbin', 'trash bin database inconsistent! ($user: ' . $user . ' $filename: ' . $filename . ', $timestamp: ' . $timestamp . ')', \OCP\Util::ERROR); } else { // if location no longer exists, restore file in the root directory if ($location !== '/' && |