basic pipeline error handling