Add error string to the transaction failed message.