添加异常处理以捕获 HandleEpisode 方法中的错误
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 24s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s

This commit is contained in:
孙诚
2025-09-29 11:25:35 +08:00
parent 33b17c9937
commit e682814630

View File

@@ -150,8 +150,15 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
ctn.episodeNfoPath = episode; ctn.episodeNfoPath = episode;
_logger.LogInformation("ctn.episodeNfoPath: " + ctn.episodeNfoPath); _logger.LogInformation("ctn.episodeNfoPath: " + ctn.episodeNfoPath);
await HandleEpisode(); try
{
await HandleEpisode();
}
catch (Exception e)
{
Console.WriteLine(e);
}
} }
} }
} }