wrong exception type

This commit is contained in:
henderkes
2026-05-12 11:17:31 +07:00
parent 57ef0423d5
commit defd50f459

View File

@@ -101,7 +101,7 @@ class Registry
} elseif (str_contains(rtrim(FileSystem::convertPath($base), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR)) {
logger()->debug("Registry autoload not present, relying on consumer autoloader: {$autoload_path}");
} else {
throw new FileSystemException("Path does not exist: {$autoload_path}");
throw new RegistryException("Path does not exist: {$autoload_path}");
}
}