Added exception printing.