More helpful error message on publish failure