Update settings for production deployment
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
@ChildContent
|
||||
</ChildContent>
|
||||
<ErrorContent Context="ex">
|
||||
@{
|
||||
Logger.LogError(ex, "Error boundary triggered - Exception details: {Message}", ex.Message);
|
||||
}
|
||||
<MudContainer MaxWidth="MaxWidth.Medium" Class="mt-8">
|
||||
<MudPaper Elevation="3" Class="pa-6">
|
||||
<MudAlert Severity="Severity.Error" Variant="Variant.Filled">
|
||||
@@ -47,9 +50,4 @@
|
||||
[Inject] private ILogger<AppErrorBoundary> Logger { get; set; } = default!;
|
||||
|
||||
private bool ShowDetails => Environment.IsDevelopment();
|
||||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
Logger.LogError("Error boundary triggered");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user