Ok! Great first post; it was the logger causing the problem; it should have been:

cocoon.log.debug(x)

!!

Ellis.


Ellis Pritchard wrote:

Hi,

Using Cocoon 2.1.6, I don't seem to be getting the exception object passed through when catching an exception in flowscript; I've reduced it to the most simple case:

function login() {
   try {
       throw "bang";
   } catch (x) {
       cocoon.logger.debug(x);
   }
}

I get the error message 'The undefined value has no properties.', and sure enough, the Flow debugger says that x is undefined (actually it doesn't even exist).

Any ideas?

Ellis.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to