From eb06c0df879ce324660cf415749bb6d4f372de27 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Fri, 5 Jul 2024 14:00:04 +0200 Subject: [PATCH] DakotaException Message override statt new LoginUrl anpassung --- Dakota/Models/DakotaException.cs | 2 +- Host/GkvAbrechnungView.aspx.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dakota/Models/DakotaException.cs b/Dakota/Models/DakotaException.cs index f5f1fd759..accbee113 100644 --- a/Dakota/Models/DakotaException.cs +++ b/Dakota/Models/DakotaException.cs @@ -10,7 +10,7 @@ namespace Dakota.Models public class DakotaException : ArgumentException { public string Title { get; set; } - public new string Message { get; set; } + public override string Message { get; } public DakotaException(string message, string title) : this(message) { diff --git a/Host/GkvAbrechnungView.aspx.cs b/Host/GkvAbrechnungView.aspx.cs index 92ef9718f..29840075b 100644 --- a/Host/GkvAbrechnungView.aspx.cs +++ b/Host/GkvAbrechnungView.aspx.cs @@ -141,7 +141,7 @@ namespace Host } var server = GetServerFromTenant(gkv_request.Tenant); - var loginurl = string.Format(LOGINSERVER_URL, server); + var loginurl = string.Format(LOGINSERVER_URL, $"https://{server}/service"); #if DEBUG //loginurl = string.Format(LOGINSERVER_URL, "https://app4.bewoplaner.de"); @@ -166,7 +166,7 @@ namespace Host } catch (Exception e) { - + throw new DakotaException($"loginurl: {loginurl} | " + e.ToString()); } return successful;