put some error handling in notifications delivery