Skip to content
Permalink
Browse files

Improve error message for missing shells

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 bb153ca1074f5b7228c6526d6a90724d75221494
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Console/Exception/MissingShellException.php
@@ -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.
You can’t perform that action at this time.