mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
CS
This commit is contained in:
@@ -124,7 +124,7 @@ class module_console_taskrun extends Command
|
||||
|
||||
if(($ttyloglevel = strtoupper($input->getOption('ttyloglevel'))) != '') {
|
||||
if (!array_key_exists($ttyloglevel, $lib2v)) {
|
||||
throw(new RuntimeException(sprintf(
|
||||
throw(new Alchemy\Phrasea\Exception\RuntimeException(sprintf(
|
||||
"Bad value '%s' for option loglevel\nuse DEBUG|INFO|WARNING|ERROR|CRITICAL|ALERT", $ttyloglevel))
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user