Handle publish error (prevent unhandled task exception)
Merge pull request #278 from reuzel/master

Handle publish error (prevent unhandled task exception)