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

invalid PC_CONFIG_FILES gives no visible errors #115

Closed
stijnveenman opened this issue Dec 9, 2023 · 2 comments
Closed

invalid PC_CONFIG_FILES gives no visible errors #115

stijnveenman opened this issue Dec 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@stijnveenman
Copy link
Contributor

Defect

When setting PC_CONFIG_FILES to a config file that does not exist the process exits without any visible logs. Giving no clear indication what went wrong.
Looking at the process-compose log file, an error is shown that the file does not exist. But this requires knowing of, and opening the log.

Version of process-compose:

v0.77.4

OS environment:

mac

Steps or code to reproduce the issue:

export PC_CONFIG_FILES="process-compose.rush.yaml,process-compose.yaml"
process-compose up

Expected result:

I would expect some message to be shown indicating the file was not found.

Actual result:

The process exits silently (with exit code 1)
I tried this in both TUI and non TUI mode (-t=false), with the same result

@F1bonacc1 F1bonacc1 added the bug Something isn't working label Dec 9, 2023
@F1bonacc1
Copy link
Owner

Thank you for pointing that out @stijnveenman
Fixed.
Will be part of the next release.

@F1bonacc1
Copy link
Owner

Fixed in v0.77.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants