Error message in chart of accounts parse should include file and line.
keithrbennett opened this issue · comments
Keith Bennett commented
A parse error in the chart of accounts yields this error:
-------------------------------------------------------------------------------
undefined method `[]' for nil:NilClass
-------------------------------------------------------------------------------
Instead there should be a more helpful message including the source file and line of the error.
To reproduce, introduce an unsupported document variable into the chart of accounts, e.g. @foo
, and then run rock_books w
.
Keith Bennett commented