--- a/include/git/projectlist/ProjectListBase.class.php +++ b/include/git/projectlist/ProjectListBase.class.php @@ -106,7 +106,7 @@ throw new GitPHP_MessageException(__('A projectroot must be set in the config'), true, 500); } if (!is_dir($this->projectRoot)) { - throw new Exception(sprintf(__('%1$s is not a directory'), $this->projectRoot)); + throw new GitPHP_MessageException(sprintf(__('%1$s is not a directory'), $this->projectRoot)); } $this->memoryCache = new GitPHP_MemoryCache(GitPHP_Config::GetInstance()->GetValue('objectmemory', 0));