summaryrefslogtreecommitdiffstats
path: root/lib/app.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-01-18 15:14:42 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-01-18 15:14:42 +0100
commitd2c5f9bec7a86500913ebd20b767146444c71cca (patch)
treef871828562657bb77c95b2af5594a64d2d2ffb43 /lib/app.php
parent0ed635240a56cc16596be39af7d71bdcd276425b (diff)
downloadnextcloud-server-d2c5f9bec7a86500913ebd20b767146444c71cca.tar.gz
nextcloud-server-d2c5f9bec7a86500913ebd20b767146444c71cca.zip
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
Diffstat (limited to 'lib/app.php')
-rw-r--r--lib/app.php2
1 files changed, 1 insertions, 1 deletions
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{