Improve error reporting in Parser Library
Improve the parser to get the original line for failed parsed lines.