More efforts to get teamcity to output errors properly.
The saga continues...