Add error logging for when sending notifications fails