add compare excption trace