capture exeception to log when destroying local file fails