When parse errors occur, the error exposes the line and file where the errors occur. In services like NginxaaS, analyzing and providing feedback for such errors when customers upload their config is more challenging. Exporting the raw directive statement and the context in which they are used gives more insight into the parse error.
Adds exported fields in Parse Errors that provides the raw config statement causing the error and the context/blocks they were placed in.
When parse errors occur, the error exposes the line and file where the errors occur. In services like NginxaaS, analyzing and providing feedback for such errors when customers upload their config is more challenging. Exporting the raw directive statement and the context in which they are used gives more insight into the parse error.
Adds exported fields in Parse Errors that provides the raw config statement causing the error and the context/blocks they were placed in.
Checklist
CONTRIBUTING
documentREADME.md
)