Namespace corrected for the exception class in the command: propel:database:drop, propel:database:create and propel:table:drop
This commit is contained in:
parent
38150e71c9
commit
5a1f644a6a
3 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ EOT
|
|||
|
||||
$output->writeln(sprintf('Table' . $tablePlural . ' <info><comment>%s</comment> has been dropped.</info>', $tablesToDelete));
|
||||
}
|
||||
catch (Exception $e)
|
||||
catch (\Exception $e)
|
||||
{
|
||||
$output->writeln(sprintf('<error>An error has occured: %s</error>', $e->getMessage()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue