I\'m using this approach to manage to show a user-friendly error page
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.U