mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-11 10:55:35 +08:00
wrong exception type
This commit is contained in:
@@ -101,7 +101,7 @@ class Registry
|
|||||||
} elseif (str_contains(rtrim(FileSystem::convertPath($base), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR)) {
|
} 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}");
|
logger()->debug("Registry autoload not present, relying on consumer autoloader: {$autoload_path}");
|
||||||
} else {
|
} else {
|
||||||
throw new FileSystemException("Path does not exist: {$autoload_path}");
|
throw new RegistryException("Path does not exist: {$autoload_path}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user