From 735912da5dcdce8954739737fb9d400b1746f6da Mon Sep 17 00:00:00 2001 From: YvesPa <166829028+YvesPa@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:12:42 +0100 Subject: [PATCH] Change log position --- .../Services/Downloaders/DownloadStationDownloader.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/RdtClient.Service/Services/Downloaders/DownloadStationDownloader.cs b/server/RdtClient.Service/Services/Downloaders/DownloadStationDownloader.cs index 3c6cfdc..8441378 100644 --- a/server/RdtClient.Service/Services/Downloaders/DownloadStationDownloader.cs +++ b/server/RdtClient.Service/Services/Downloaders/DownloadStationDownloader.cs @@ -109,9 +109,10 @@ public class DownloadStationDownloader : IDownloader .TaskEndpoint() .CreateAsync(new DownloadStationTaskCreateRequest(_uri, path.Substring(1))); - _logger.Debug($"Added download to DownloadStation, received ID {_gid}"); _gid = createResult.TaskId?.FirstOrDefault(); + _logger.Debug($"Added download to DownloadStation, received ID {_gid}"); + if (_gid == null) _gid = await GetGidFromUri(); if (_gid != null)