Skip to content

Improve error messages when parsing JSON input files#18037

Merged
czoido merged 3 commits intoconan-io:develop2from
perseoGI:feature/error_handling/json
Mar 31, 2025
Merged

Improve error messages when parsing JSON input files#18037
czoido merged 3 commits intoconan-io:develop2from
perseoGI:feature/error_handling/json

Conversation

@perseoGI
Copy link
Contributor

@perseoGI perseoGI commented Mar 28, 2025

Changelog: Feature: Improve error messages when dealing with incorrect JSON input file formats.
Docs: omit

Close #17882

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

@memsharded memsharded self-assigned this Mar 28, 2025
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better do not change the logic of what a PackageList.loads() receives (it assumes an absolute path at he moment)

@czoido czoido added this to the 2.15.0 milestone Mar 31, 2025
@perseoGI perseoGI force-pushed the feature/error_handling/json branch from 011f3d3 to 830ab08 Compare March 31, 2025 08:29
@perseoGI perseoGI marked this pull request as ready for review March 31, 2025 08:31
@memsharded memsharded modified the milestones: 2.15.0, 2.16.0 Mar 31, 2025
@czoido czoido modified the milestones: 2.16.0, 2.15.0 Mar 31, 2025
@czoido czoido merged commit 3aa83ac into conan-io:develop2 Mar 31, 2025
15 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.

Improve error messages when provided wrong json

3 participants