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

improve config.toml error msg #1155

Merged
merged 3 commits into from
Jun 24, 2024
Merged

improve config.toml error msg #1155

merged 3 commits into from
Jun 24, 2024

Conversation

zys864
Copy link
Contributor

@zys864 zys864 commented Jun 12, 2024

improve config.toml error msg

when I write a unvalid config.toml

[[sources]]
# name = "company-internal"
url = "https://company.internal/simple/"

the before msg is very strange: error: expected name
after: error: bad config.toml syntax,expected source.name

@charliermarsh charliermarsh self-assigned this Jun 24, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) June 24, 2024 12:10
@charliermarsh charliermarsh enabled auto-merge (squash) June 24, 2024 12:56
@charliermarsh charliermarsh merged commit 5df957d into astral-sh:main Jun 24, 2024
8 checks 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