Catching MonitoringPublisherException instead of generic Exception.
Merge pull request #30 from kdchamil/master

Catching MonitoringPublisherException instead of generic Exception.