If we're returning an error, we should not log it. Remove this line.