Updated exporter to handle exception edges