Deliver user-friendly error messages for certain publishing errors
adjust formatting to match surrounding code
Merge pull request #4 from kpatelPro/publish-error-msgs

Publish error msgs