[windup-dev] Reporting exceptions
Ondrej Zizka
ozizka at redhat.com
Sun Aug 10 23:30:16 EDT 2014
Hi all,
Some thoughts for the future:
Windup is that kind of tool that should be robust and try to do
something sensible even with malformed input.
Currently, we throw an exception whenever something unexpected happen,
and halt the app.
I think we should rather continue processing other items, and then
include even those failed in the report, saying why it failed.
Therefore, we should capture the exceptions in the rules, at different
levels, into collections if needed, then turn them into vertices, and
link them to the item during whose processing the exception occured.
Then add it to the report.
Duplicated exceptions can be just summarized.
This is how it worked in WindRide.
Ondra
More information about the windup-dev
mailing list