commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [jelly] error reporting
Date Wed, 22 Jan 2003 15:16:29 GMT
From: "Christian Sell" <>
> I noticed 2 things regarding error reporting:
> 1. unknown core tags are simply ignored, the body is evaluated and the
> tag is written to stdout. Shouldnt there better be an exception instead?

Yes. I think we should refactor the TagLibrary implementation so that
mis-typed tags inside a known TagLibrary are reported as errors. There's a
bug report for this

> 2. error messages (e.g., when exceptions occur) are written in a format
> that shows the line information at the very end of a usually rather long
> line. Shouldnt this better be something like
> file.jelly [22:3] - some error occurred
> or at least easily configurable.

Sounds good to me. The formatting is in  if you fancy
changing it. The file name might be quite long; how about a carriage return
before the file/line details?


Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

View raw message