More logging

This commit is contained in:
2024-07-30 14:06:02 -07:00
parent e6442fff9f
commit 38340090be
3 changed files with 6 additions and 52 deletions

View File

@ -52,7 +52,10 @@ public partial class Worker : BackgroundService
private async Task Body(CancellationToken cancellationToken)
{
if (!_IsWindowsService)
{
_Logger.LogInformation("Set break point and skip to run {_AppSettings.Helper}!", _AppSettings.Helper);
throw new EvaluateException($"Set break point and skip to run {_AppSettings.Helper}!");
}
if (!_IsWindowsService)
{
for (int i = 0; i < int.MaxValue; i++)