On Tue, Jun 05, 2012 at 05:47:37PM -0500, Russell Adams wrote: > So I'm trying out the new explicit features, and ran into a minor > issue with error reporting. > > When I had a metadata tag that wasn't defined, I got a clear error > that recursed into my include directives: > > Error: Unknown metadata tag 'OWNER' > In file included from ".ledger", line 106: > While parsing file "./ER/AISER0044.dat", line 72: > > > However when a value failed its check, instead I got just an error on > the line of the include directive. > > Warning: ".ledger", line 113: Metadata check failed for (RECEIPT: Y): > (value =~ /^Receipts/.*.jpg/) > > Can this be expanded to include additional detail?
Nevermind, my mistake was using "check value" vs "assert value". The errors are great! Thanks. ------------------------------------------------------------------ Russell Adams [email protected] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
