Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logs command doesn't handle errors #585

Open
johnbillion opened this issue Mar 1, 2023 · 0 comments
Open

logs command doesn't handle errors #585

johnbillion opened this issue Mar 1, 2023 · 0 comments
Labels
bug Existing functionality isn't behaving as expected developer advocacy Developer Advocacy related tasks

Comments

@johnbillion
Copy link
Member

johnbillion commented Mar 1, 2023

My local server instance doesn't do anything when I run composer server logs php. The command just hangs with no output.

After some debugging I ran the corresponding command directly and was presented with an error:

> docker compose logs --tail=100 -f php
no configuration file provided: not found

If there's an error such as this I would expect the composer server logs php command to display it and exit with a non-zero exit code.

I'm still investigating the root cause so I can't provide steps to reproduce. See #586.

@johnbillion johnbillion added the bug Existing functionality isn't behaving as expected label Mar 1, 2023
@missjwo missjwo added the developer advocacy Developer Advocacy related tasks label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected developer advocacy Developer Advocacy related tasks
Projects
None yet
Development

No branches or pull requests

2 participants