Trace WebSocket exception into verbose level to reduce noise in diag log. (#2591)

This commit is contained in:
Tingluo Huang
2023-05-08 18:54:34 -04:00
committed by GitHub
parent 22d1938ac4
commit 1bc14f0607
2 changed files with 4 additions and 4 deletions

View File

@@ -222,7 +222,7 @@ namespace GitHub.Runner.Common
{
var delay = BackoffTimerHelper.GetRandomBackoff(MinDelayForWebsocketReconnect, MaxDelayForWebsocketReconnect);
Trace.Info($"Websocket is not open, let's attempt to connect back again with random backoff {delay} ms.");
Trace.Error(ex);
Trace.Verbose(ex.ToString());
retries++;
InitializeWebsocketClient(_liveConsoleFeedUrl, _token, delay);
}