Skip to content

Commit

Permalink
Improve error message for missing shells
Browse files Browse the repository at this point in the history
Attempt to improve the missing shell error to cover the scenario when
someone is using a new style plugin but has an outdated bin/cake.php
that isn't using CommandRunner.

Refs markstory/asset_compress#324
  • Loading branch information
markstory committed Jun 5, 2018
1 parent 68b3636 commit bb153ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Exception/MissingShellException.php
Expand Up @@ -20,5 +20,5 @@
class MissingShellException extends Exception
{

protected $_messageTemplate = 'Shell class for "%s" could not be found.';
protected $_messageTemplate = 'Shell class for "%s" could not be found. If you are trying to use a plugin shell, that was loaded via $this->addPlugin(), you may need to update bin/cake.php to match https://github.com/cakephp/app/tree/master/bin/cake.php';
}

0 comments on commit bb153ca

Please sign in to comment.