Adds exception to the logger output for problems with the graphml output.