error handling output line

error handling output line