Commit b264ee88 by 泽锋 李

fix

parent 7139ec12
......@@ -17,6 +17,8 @@ namespace AutoTurnOver.DownloadService
{
Task.Factory.StartNew(async () =>
{
while (true)
{
try
{
Console.WriteLine($"开始 下载任务 ,线程Id:{Thread.CurrentThread.ManagedThreadId}{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}");
......@@ -30,6 +32,8 @@ namespace AutoTurnOver.DownloadService
Console.WriteLine(ex.Message);
Console.WriteLine(ex.StackTrace);
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment