Adding Communigate code to exceptions