We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b13eb5b commit 16a8f3eCopy full SHA for 16a8f3e
lib/Sabre/DAV/Directory.php
@@ -36,7 +36,7 @@ public function getChild($name) {
36
if ($child->getName()==$name) return $child;
37
38
}
39
- throw new Sabre_DAV_FileNotFoundException('File not found');
+ throw new Sabre_DAV_FileNotFoundException('File not found: ' . $name);
40
41
42
@@ -50,7 +50,7 @@ public function getChild($name) {
50
*/
51
public function createFile($name, $data = null) {
52
53
- throw new Sabre_DAV_PermissionDeniedException('Permission denied to create file');
+ throw new Sabre_DAV_PermissionDeniedException('Permission denied to create file (filename ' . $name . ')');
54
55
56
0 commit comments