diff --git a/Core/Main/PTMagic.cs b/Core/Main/PTMagic.cs index 8c3598e..fc5c7ce 100644 --- a/Core/Main/PTMagic.cs +++ b/Core/Main/PTMagic.cs @@ -2323,8 +2323,6 @@ namespace Core.Main } } - this.Log.DoLogInfo("DCA ProfitPercentage Label:" + ProfitPercentageLabel); - // Get configured DCA triggers for (int dca = 1; dca <= maxDCALevel; dca++) { diff --git a/Monitor/Pages/Error.cshtml b/Monitor/Pages/Error.cshtml index 0ea6585..6c83966 100644 --- a/Monitor/Pages/Error.cshtml +++ b/Monitor/Pages/Error.cshtml @@ -13,4 +13,9 @@
Request ID: @Model.RequestId
@Model.Exception.Error.StackTrace
} \ No newline at end of file diff --git a/Monitor/Pages/Error.cshtml.cs b/Monitor/Pages/Error.cshtml.cs index f96bf8a..ccf6208 100644 --- a/Monitor/Pages/Error.cshtml.cs +++ b/Monitor/Pages/Error.cshtml.cs @@ -7,11 +7,14 @@ namespace Monitor.Pages public class ErrorModel : PageModel { public string RequestId { get; set; } + public IExceptionHandlerFeature Exception = null; public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); public void OnGet() { + Exception = HttpContext.Features.Get