- All error messages should now be printed to stderr.
- When processing fails during execution of the Regulus command
, a line of the form
Error processing command:
should be printed. This was not previously the case. - There is a new top-level predicate
regulus_batch_storing_errors(+ConfigFile, +Commands, -ErrorString)
which is like regulus_batch/2, except that it instantiates ErrorString with a string containing all the errors printed out during execution of Commands.
Tuesday, 27 May 2008
Catching Regulus errors
Peter Ljunglöf wondered whether error reporting in Regulus could be improved, and had a couple of suggestions. I've implemented and checked in the following improvements:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment