print build log if build failed