[bz4788267] Child errors are not communicated clearly to parents #25

Closed
add0n opened this Issue Mar 30, 2012 · 2 comments

2 participants

@add0n

The default error() function the composite plugin uses to handle child errors looks like this:

        error: function(err) {
            Y.log("Error executing child mojit at '" + this.id + "':", 'error', NAME);
            Y.log(err.message, 'error', NAME);
            Y.log(err.stack, 'error', NAME);
            // Pass back some empty data so we don't fail the composite
            this.done('');
        }

In order to allow the parent mojit to continue running, it passes back an empty string into ac.done(), but we should have a way to communicate child errors

@caridy

This is still an issue. Let's bump this up. /cc @rwaldura @jenny

@caridy

will be available in mojito@0.5.5 scheduled for next week.

@caridy caridy closed this Feb 20, 2013
@caridy caridy removed this from the v0.5.5 milestone Mar 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment