Fixed bug where reporting exception threw and exception.