From d2c5f9bec7a86500913ebd20b767146444c71cca Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Fri, 18 Jan 2013 15:14:42 +0100 Subject: fix error message, add "appid" to the output to know which app caused the error if OC_App::getStorage() fails. Port of approved patch for stable45: https://github.com/owncloud/core/pull/1222 --- lib/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app.php b/lib/app.php index 410cb4c12fc..662af56d258 100644 --- a/lib/app.php +++ b/lib/app.php @@ -748,7 +748,7 @@ class OC_App{ } return new OC_FilesystemView('/'.OC_User::getUser().'/'.$appid); }else{ - OC_Log::write('core', 'Can\'t get app storage, app, user not logged in', OC_Log::ERROR); + OC_Log::write('core', 'Can\'t get app storage, app '.$appid.', user not logged in', OC_Log::ERROR); return false; } }else{ -- cgit v1.2.3