Adding exception logging on channel callback functions