save hostname on failed task