Reword the error message and log the error.