checking for the case when no event_attrs is provided
Merge pull request #563 from swarbhanu/add_check_in_publish_event

Checking for the case when no event_attrs is provided for UNS' publish_event()