mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
don't crash listener on getting job exceptions (#3177)
This commit is contained in:
committed by
GitHub
parent
4cb3cb2962
commit
aa90563cae
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user