[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
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class ModuleManager
{ {
if ($_ENV['APP_ENV'] === 'prod' && !file_exists(CACHE_FILE)) { if ($_ENV['APP_ENV'] === 'prod' && !file_exists(CACHE_FILE)) {
// @codeCoverageIgnoreStart // @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 // @codeCoverageIgnoreEnd
} else { } else {
$rdi = new AppendIterator(); $rdi = new AppendIterator();