DakotaException Message override statt new
LoginUrl anpassung
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user