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

display a message when daemon closes due to an error in your procfile? #171

Open
thdaraujo opened this issue Feb 16, 2024 · 0 comments
Open

Comments

@thdaraujo
Copy link

Thanks for working on this tool, it's really great!

This is more of a question or maybe an opportunity to improve user-experience or documentation.

I was running overmind as a daemon, and one of the apps listed in the Procfile had a problem to launch. Then the daemon would quickly shutdown. If I tried to connect to one of the apps or run echo, the socket wouldn't be available anymore (naturally!), so you'd see the error about the socket not being available:

overmind: dial unix ./.overmind.sock: connect: no such file or directory

That all makes sense after you understand what's really going on. But this behaviour can be a bit confusing, because I thought that overmind stopped working, or that there was an issue creating the socket. In reality, it just shutdown really quickly.

Now, if you try to echo or connect, it won't work either, so it's hard to know what's going on.

But if you then go and launch overmind in the foreground, you'll be able to see that the problem is your procfile, not overmind.

Do you think we should document this? Or maybe have a way to show that overmind has shutdown successfully, and capture a bit of the output log somewhere? That would help with debugging situations like this.

I'd be happy to contribute, just need to know your thoughts on this. Thanks!

@thdaraujo thdaraujo changed the title display a message when daemon closes due to an error in one of the apps? display a message when daemon closes due to an error in your procfile? Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant