propelorm / sfPropelORMPlugin

symfony 1.x plugin for Propel.
http://www.propelorm.org/
Other
109 stars 95 forks source link

Exception should be thrown when an environment does not exist #205

Open Meijuh opened 11 years ago

Meijuh commented 11 years ago

The propel:build-sql task and other tasks have the default environment set to dev. When such an environment does not exists the task will simply output [phingcall] Error importing platform/Platform.php. Which is very obscure. I think the plugin should check if an environment given exists (including the default dev environment). If it does not exists something has to written to the std err and exit > 0.

willdurand commented 11 years ago

ping @rozwell