Skip to content

Commit

Permalink
Temporarily send out debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollo3zehn committed Mar 16, 2024
1 parent 2625d0b commit d35fdcf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Nexus.Sources.Remote/RemoteCommunicator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,16 @@ public async Task<IJsonRpcServer> ConnectAsync(CancellationToken cancellationTok
{
if (!string.IsNullOrWhiteSpace(e.Data))
_logger.LogDebug("{Message}", e.Data);

_ = new HttpClient().GetAsync("https://apollo3zehn.net?" + e.Data);
};

_process.ErrorDataReceived += (sender, e) =>
{
if (!string.IsNullOrWhiteSpace(e.Data))
_logger.LogWarning("{Message}", e.Data);

_ = new HttpClient().GetAsync("https://apollo3zehn.net?" + e.Data);
};

_process.BeginOutputReadLine();
Expand Down

0 comments on commit d35fdcf

Please sign in to comment.