print build log before failing