If an error occurs, we should at least log it.