Skip to content

Improve CLI error reporting#30

Merged
stacknil merged 1 commit into
mainfrom
stacknil/friendly-cli-errors
May 15, 2026
Merged

Improve CLI error reporting#30
stacknil merged 1 commit into
mainfrom
stacknil/friendly-cli-errors

Conversation

@stacknil
Copy link
Copy Markdown
Owner

Summary

  • make the CLI convert common configuration and file errors into concise error output without a Python traceback
  • report missing config files and invalid YAML configs with clearer messages
  • add CLI-level regression tests for friendly error handling

Tests

  • pytest
  • python -m telemetry_window_demo.cli run --config does-not-exist.yaml
  • python -m telemetry_window_demo.cli run --config configs/default.yaml

@stacknil stacknil merged commit bc3a584 into main May 15, 2026
2 checks passed
@stacknil stacknil deleted the stacknil/friendly-cli-errors branch May 15, 2026 10:17
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.

1 participant