Applying patch to clarify Schema error message. Fixed #5337

This commit is contained in:
mark_story 2009-08-27 22:24:44 -04:00
parent ae715ef882
commit 98c2801d00

View file

@ -117,7 +117,8 @@ class SchemaShell extends Shell {
$this->out($File->read()); $this->out($File->read());
$this->_stop(); $this->_stop();
} else { } else {
$this->err(__('Schema could not be found', true)); $file = $this->Schema->path . DS . $this->params['file'];
$this->err(sprintf(__('Schema file (%s) could not be found.', true), $file));
$this->_stop(); $this->_stop();
} }
} }