Closed idomic closed 2 years ago
When running without a .ploomber/stats/config.yaml this output is showed to the user as a warning but it contains an error string.
/home/admin/miniconda/envs/myenv/lib/python3.9/site-packages/ploomber/telemetry/telemetry.py:329: UserWarning: Error: Can't read config file [Errno 2] No such file or directory: '/home/admin/.ploomber/stats/config.yaml' warnings.warn(f"Error: Can't read config file {e}")
I think this should go to the ploomber repo since the warning is invoked there (ploomber/telemetry/telemetry.py)
ploomber/telemetry/telemetry.py
Moved to main repo
When running without a .ploomber/stats/config.yaml this output is showed to the user as a warning but it contains an error string.
/home/admin/miniconda/envs/myenv/lib/python3.9/site-packages/ploomber/telemetry/telemetry.py:329: UserWarning: Error: Can't read config file [Errno 2] No such file or directory: '/home/admin/.ploomber/stats/config.yaml' warnings.warn(f"Error: Can't read config file {e}")