DakotaException Message override statt new

LoginUrl anpassung
This commit is contained in:
2024-07-05 14:00:04 +02:00
parent e9d855c8a5
commit eb06c0df87
2 changed files with 3 additions and 3 deletions

View File

@@ -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)
{

View File

@@ -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;