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

chore(core): print file loading errors to stderr instead of stdout #237

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

cyclimse
Copy link
Contributor

👋 Hey team!

Just a tiny change to print file loading errors to stderr instead of stdout. This error sometimes appears in CIs where the config file is not found and can sometimes be a red herring when using Client.from_config_file_and_env() method where the envs are declared but the config file does not exist. This small change makes it easier to split this log from other logs.

It looks like it's the only use of print in the codebase.

Have a great day!

@quantumsheep
Copy link
Member

Hey ! Thanks a lot, I edited your PR to use logging's warning function, by default it should be printed in stderr

@quantumsheep quantumsheep added this pull request to the merge queue Jun 28, 2023
Merged via the queue into main with commit 77dc871 Jun 28, 2023
13 checks passed
@quantumsheep quantumsheep deleted the cyclimse-patch-1 branch June 28, 2023 14:40
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

Successfully merging this pull request may close these issues.

2 participants