[CORE] Fix use of Exception class without import

This commit is contained in:
Hugo Sales 2021-09-06 17:34:27 +01:00
parent cbbef90752
commit f65e2b90f2
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -152,7 +152,7 @@ class ModuleManager
{
if ($_ENV['APP_ENV'] === 'prod' && !file_exists(CACHE_FILE)) {
// @codeCoverageIgnoreStart
throw new Exception('The application needs to be compiled before using in production');
throw new \Exception('The application needs to be compiled before using in production');
// @codeCoverageIgnoreEnd
} else {
$rdi = new AppendIterator();