Fixed onError handling for sequence actions