Fix missing check for balance
Log error on failed tx analysis