@page "/Error" @using System.Diagnostics @PageTitle

Error

Sorry it's me, not you. It looks like an unhandled error occurred while processing your request.

@if (ShowRequestId) {

Request ID: @RequestId

}
@code { [CascadingParameter] private HttpContext? HttpContext { get; set; } private string? RequestId { get; set; } private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); private const string PageTitle = "Error - journal"; private const string Description = "An unhandled error occurred while processing your request."; protected override void OnInitialized() => RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; }