From 2459eb80a72c8552a0336547fc0e665245aa0b81 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 23 Jun 2017 16:09:00 -0500 Subject: [PATCH] Improve logging of trash bin inconsistencies Signed-off-by: Morris Jobke --- apps/files_trashbin/lib/Trashbin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !== '/' && -- 2.39.5