Catch and log errors publishing PD process events

OOIION-728
Merge pull request #584 from labisso/OOIION-728

Catch and log errors publishing PD process events