Previously, trying to select a missing layer or channel via batchPlay was resulting in exception. It’s not anymore.
Does anybody know what is the right way now to know that batchPlay actually failed? I don’t see anything in the resulting descriptor.
I expect following code to fail with exception
await require("photoshop").action.batchPlay([
{
_obj: "select",
_target: [
{
_ref: "channel",
_name: "Non Existing Channel",
},
],
}
], {synchronousExecution: false,
modalBehavior: "fail"})