Better error handling on the TransactionGenerationController