Skip to content

[Messenger] Message id must be passed when in non-interactive mode  #32559

Closed
@TheRatG

Description

@TheRatG

Symfony version(s) affected: 4.3

Description
I run command messenger:failed:retry --force -q in my crontab, but have a fatal Message id must be passed when in non-interactive mode.

How to reproduce
messenger:failed:retry --force -q

Possible Solution

Do not throw exception because --force flag provided. Or create another flag, which move all failed messages without confirmation. Otherwise, if -q is dropped crontab system send error email because there is an output from command.

Additional context

bin/console messenger:failed:retry  --force
 // Quit this command with CONTROL-C.                                                               
 // Re-run the command with a -vv option to see logs about consumed messages.                       
There are 0 messages pending in the failure transport.
To retry all the messages, run messenger:consume failed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions