Save the recording on rectemp when occurs error in the pipeline