Print the cause of exceptions