eShop icon indicating copy to clipboard operation
eShop copied to clipboard

Web app configures the exception handling middleware but no /Error endpoint exists

Open adityamandaleeka opened this issue 2 years ago • 4 comments

From @danroth27

The web app configures the exception handling middleware to route requests to /Error:

if (!app.Environment.IsDevelopment())
{
    app.UseExceptionHandler("/Error");
    // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
    app.UseHsts();
}

But no /Error endpoint is defined in the app.

adityamandaleeka avatar Nov 01 '23 01:11 adityamandaleeka

@3lcarry Is this something your team can create for us? We'd need a new error page mapped at /Error.

adityamandaleeka avatar Nov 09 '23 19:11 adityamandaleeka

@adityamandaleeka no problem, I will work on this after pushing the pr for responsive it's almost complete

3lcarry avatar Nov 09 '23 20:11 3lcarry

I've created a PR #70

We created the text using OpenAI let me know what do you think image

3lcarry avatar Nov 10 '23 23:11 3lcarry

@adityamandaleeka should we create a similar page for the 404 errors?

3lcarry avatar Nov 11 '23 00:11 3lcarry