In the current implementation, the conductor action only sees the result of the composed action, not the full response. Application errors and action developer errors are represented in the same ambiguous way: a json dictionary with a single error field. The conductor action therefore cannot propagate the precise status. The "conductor.js" code used here (https://github.com/apache/incubator-openwhisk/blob/master/tests/dat/actions/conductor.js#L9) unconditionally reports an "application error" in all cases. Alternatively, the code `if (args.error) throw args.error` would unconditionally produce an "action developer error".
I am thinking of introducing support for "raw" conductor actions, where the full response would be made available to the conductor action, but the code for this does not exist yet. In the documentation, "invocation failure" is intended to mean an internal error at invocation time, not an unsuccessful invocation with eg an "action developer error". I'll update the documentation to be clearer. [ Full content available at: https://github.com/apache/incubator-openwhisk/issues/3966 ] This message was relayed via gitbox.apache.org for [email protected]
