cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject [C2]: Bug in sitemap creation?
Date Wed, 31 Jan 2001 13:36:48 GMT

I am just wondering if the following is a bug or a feature...

The generated code for the "error-handler" ends always like this:

  if (true)
      return pipeline.process (environment);

  return false;

So, if an error occurs inside a pipeline, the "error-handler" is invoked
and returns (if nothing "bad" happens) true.

So a call to Cocoon.process(...) always returns true, regardless if the
processing of the resource was successful or not.

Is this a wanted feature? If yes, how can I detect that the "error-handler" was invoked,
whenn I call Cocoon.process(..)?


View raw message