Catch and log errors sending notification