添加异常处理以捕获 HandleEpisode 方法中的错误
This commit is contained in:
@@ -151,7 +151,14 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
|
||||
_logger.LogInformation("ctn.episodeNfoPath: " + ctn.episodeNfoPath);
|
||||
|
||||
await HandleEpisode();
|
||||
try
|
||||
{
|
||||
await HandleEpisode();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user