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

Log meaningful error messages if profile_schemas are missing #755

Open
hikinggrass opened this issue Aug 21, 2024 · 0 comments
Open

Log meaningful error messages if profile_schemas are missing #755

hikinggrass opened this issue Aug 21, 2024 · 0 comments
Labels

Comments

@hikinggrass
Copy link
Contributor

OCPP Version

OCPP1.6

Describe the problem

At the moment when the profile_schemas are not found a cryptic error message is logged:

Dynamic exception type: nlohmann::json_abi_v3_11_2::detail::parse_error
std::exception::what: [json.exception.parse_error.101] parse error at line 1, column 1: syntax error while parsing value - unexpected end of input; expected '[', '{', or a literal

Describe your solution

Log a meaningful message stating that the required schema wasn't found at the expected location

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant