summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 6ffb5edff3e..67356fa63cf 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -2068,7 +2068,7 @@ class View {
$parts = explode('/', trim($path, '/'), 3);
// "$user", "files", "path/to/dir"
if (!isset($parts[1]) || $parts[1] !== 'files') {
- throw new \InvalidArgumentException('$absolutePath must be relative to "files"');
+ throw new \InvalidArgumentException('"' . $absolutePath . '" must be relative to "files"');
}
if (isset($parts[2])) {
return $parts[2];