OCSADV-191: log exceptions