don't crash listener on getting job exceptions (#3177)

This commit is contained in:
Yashwanth Anantharaju
2024-02-29 10:39:29 -05:00
committed by GitHub
parent 4cb3cb2962
commit aa90563cae

View File

@@ -567,6 +567,11 @@ namespace GitHub.Runner.Listener
Trace.Info("Job is already acquired, skip this message.");
continue;
}
catch (Exception ex)
{
Trace.Error($"Caught exception from acquiring job message: {ex}");
continue;
}
}
jobDispatcher.Run(jobRequestMessage, runOnce);