[CORE] Fix use of Exception
class without import
This commit is contained in:
parent
cbbef90752
commit
f65e2b90f2
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user