Tracking exceptions in the transaction