增加日志写入

This commit is contained in:
liufei
2021-12-22 13:14:54 +08:00
parent 8d4201f5ba
commit 353acec75e
22 changed files with 160 additions and 151 deletions

View File

@@ -59,12 +59,9 @@ namespace GeekDesk.Thread
}));
}
}
#pragma warning disable CS0168 // 声明了变量“e”但从未使用过
} catch (Exception e)
#pragma warning restore CS0168 // 声明了变量“e”但从未使用过
{
//不做处理
//MessageBox.Show(e.Message);
LogUtil.WriteErrorLog(e, "检测更新失败!");
}
}
}