talentdeficit / jsx

an erlang application for consuming, producing and manipulating json. inspired by yajl
MIT License
695 stars 218 forks source link

Add arguments when badarg error is raised #151

Open juise opened 3 years ago

juise commented 3 years ago

Now it will be possible to get the clue, where is the problem, before it was impossible:

error: {badarg,[{jsx_parser,value,4,[{file,"/home/jenkins/app/_build/default/lib/jsx/src/jsx_parser.erl"},{line,163}]}, {.....