[Bug]: Fix BAL_CONFIG_DATA
toml parsing not throwing parsing errors
#40220
Labels
BreakingChange
Fix containing a backward incompatible change.
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Description
$subject
Steps to Reproduce
Currently, if we provide invalid TOML content through the Environment Variable, it throws
value not provided
errors for configurable instead of anInvalid TOML content
error.This is deviant from the TOML file passing behavior.
This is because we ignore the diagnostic logs from the Toml parser if we receive a valid toml node.
Affected Version(s)
current master
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: