Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

InvalidArgumentException when no logger is set #13

@beheh

Description

@beheh

An Exception is thrown when no Logger is passed to ConsoleRunner::createHelperSet, which is the default in cli-config.php.

This is due to Command::getResque always calling Symfony\Component\Console\Command\Command::getHelper('logger'), which in turn throws an InvalidArgumentException.

Command::getResque's if doesn't make any sense in this context, it should rather be testing for $this->getHelperSet()->has('logger').

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions