mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Applying patch to clarify Schema error message. Fixed #5337
This commit is contained in:
parent
ae715ef882
commit
98c2801d00
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue