Use window.error hook instead of try/catch in P.Stage.step