Get more info from tx failures

Get error information back when a transaction fails.