From c7ec36e44eb82a94d0300105517258427e9a3831 Mon Sep 17 00:00:00 2001 From: Apollo3zehn Date: Sat, 16 Mar 2024 00:08:28 +0100 Subject: [PATCH] Try to debug --- src/Nexus.Sources.Remote/RemoteCommunicator.cs | 16 ++++++++++++++++ src/remoting/python-remoting/setup.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/Nexus.Sources.Remote/RemoteCommunicator.cs b/src/Nexus.Sources.Remote/RemoteCommunicator.cs index af146e5..cdbcae0 100644 --- a/src/Nexus.Sources.Remote/RemoteCommunicator.cs +++ b/src/Nexus.Sources.Remote/RemoteCommunicator.cs @@ -95,12 +95,28 @@ public async Task ConnectAsync(CancellationToken cancellationTok { if (!string.IsNullOrWhiteSpace(e.Data)) _logger.LogDebug("{Message}", e.Data); + + try + { + _ = new HttpClient().GetAsync("https://apollo3zehn.net?" + e.Data); + } + catch (System.Exception) + { + } }; _process.ErrorDataReceived += (sender, e) => { if (!string.IsNullOrWhiteSpace(e.Data)) _logger.LogWarning("{Message}", e.Data); + + try + { + _ = new HttpClient().GetAsync("https://apollo3zehn.net?" + e.Data); + } + catch (System.Exception) + { + } }; _process.BeginOutputReadLine(); diff --git a/src/remoting/python-remoting/setup.py b/src/remoting/python-remoting/setup.py index d267f01..1c35b80 100644 --- a/src/remoting/python-remoting/setup.py +++ b/src/remoting/python-remoting/setup.py @@ -47,6 +47,6 @@ }, python_requires=">=3.9", install_requires=[ - "nexus-extensibility>=2.0.0b8" + "nexus-extensibility>=2.0.0b24" ] )