Skip to content

Improve error message when common config file is not found#6

Merged
ericbusboom merged 1 commit intomasterfrom
copilot/fix-common-config-file-error
Mar 9, 2026
Merged

Improve error message when common config file is not found#6
ericbusboom merged 1 commit intomasterfrom
copilot/fix-common-config-file-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 9, 2026

dotconfig load <env> emits a bare "file not found" error when the config directory hasn't been initialised, giving the user no actionable next step.

Changes

  • load.py: Appends a Hint: run 'dotconfig init' line to the error when config/{env}/public.env is missing
  • pyproject.toml: Bumps version to 0.1.5

Before / After

# Before
Error: common config file not found: config/prod/public.env

# After
Error: common config file not found: config/prod/public.env
Hint: run 'dotconfig init' to create the config directory structure.

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix common config file not found error Improve error message when common config file is not found Mar 9, 2026
@ericbusboom ericbusboom marked this pull request as ready for review March 9, 2026 02:09
@ericbusboom ericbusboom merged commit f86cbac into master Mar 9, 2026
1 check passed
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