fix logging on failed download