Apply error throttler for unexpected exceptions as well

This commit is contained in:
eric sciple
2024-06-27 11:04:09 -07:00
parent 70746ff593
commit 5e3f8b2fe5

View File

@@ -595,6 +595,7 @@ namespace GitHub.Runner.Listener
catch (Exception ex)
{
Trace.Error($"Caught exception from acquiring job message: {ex}");
await _acquireJobThrottler.IncrementAndWaitAsync(messageQueueLoopTokenSource.Token);
continue;
}
}