From ac1223d55f6ab5094ea29bd175d9b964eb8bbc3b Mon Sep 17 00:00:00 2001 From: Michael Klapper Date: Tue, 7 Aug 2012 13:46:08 +0200 Subject: [PATCH] [BUGFIX] Exception "Could not create directory" The thrown exception is not that helpful while information about the path is missing. Change-Id: I3d3411a4ebcce8b1bfecbeb12aba58ceafa89ce4 Fixes: #39583 Releases: 6.0, 4.7, 4.6 Reviewed-on: http://review.typo3.org/13495 Reviewed-by: Tolleiv Nietsch Tested-by: Tolleiv Nietsch --- t3lib/class.t3lib_div.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t3lib/class.t3lib_div.php b/t3lib/class.t3lib_div.php index 039bf675661..50387ea2e4f 100644 --- a/t3lib/class.t3lib_div.php +++ b/t3lib/class.t3lib_div.php @@ -2843,7 +2843,7 @@ final class t3lib_div { $result = @mkdir($fullDirectoryPath, $permissionMask, TRUE); if (!$result) { - throw new \RuntimeException('Could not create directory!', 1170251400); + throw new \RuntimeException('Could not create directory "' . $fullDirectoryPath . '"!', 1170251400); } } return $firstCreatedPath; -- 2.20.1