Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 362ff1c

Browse files
committed
Include full directory path into error message on cache initialization.
1 parent 42a39e7 commit 362ff1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function __construct($kirby) {
2626
try {
2727
$this->driver = new FileCache($this->cacheRoot);
2828
} catch(Error $e) {
29-
throw new Error('The thumbs directory does not exist.', $e->getCode());
29+
throw new Error("The thumbs directory does not exist at \"$this->cacheRoot\".", $e->getCode());
3030
}
3131
}
3232

0 commit comments

Comments
 (0)