mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
fixed E_NOTICE undefined variable in CakeCliReporter::paintException
This commit is contained in:
parent
7c296211ef
commit
b04f87f62d
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class CakeCliReporter extends CakeBaseReporter {
|
|||
*/
|
||||
function paintException($exception) {
|
||||
parent::paintException($exception);
|
||||
$message .= sprintf('Unexpected exception of type [%s] with message [%s] in [%s] line [%s]',
|
||||
$message = sprintf('Unexpected exception of type [%s] with message [%s] in [%s] line [%s]',
|
||||
get_class($exception),
|
||||
$exception->getMessage(),
|
||||
$exception->getFile(),
|
||||
|
|
Loading…
Add table
Reference in a new issue