Add error messages to transaction history