From 07ea4678e158251712b623c6f53898a1e5c9d6c2 Mon Sep 17 00:00:00 2001 From: Loretta Date: Thu, 29 Aug 2024 16:40:46 +0200 Subject: [PATCH] Changing UserDataServiceClientBase Http to Signalr in progress... --- AyCode.Blazor.Components/Services/AcSignalRClientBase.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AyCode.Blazor.Components/Services/AcSignalRClientBase.cs b/AyCode.Blazor.Components/Services/AcSignalRClientBase.cs index 3a9a147..cc52b99 100644 --- a/AyCode.Blazor.Components/Services/AcSignalRClientBase.cs +++ b/AyCode.Blazor.Components/Services/AcSignalRClientBase.cs @@ -160,7 +160,9 @@ namespace AyCode.Blazor.Components.Services Logger.Error(errorText); //TODO: Ideiglenes, majd a ResponseMessage-et kell visszaadni a Status miatt! - J. - throw new Exception(errorText); + return await Task.FromException(new Exception(errorText)); + + //throw new Exception(errorText); //return default; }