From f8dd04620150c2806169c881c8537dc623a0f463 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 19:18:16 +0200 Subject: Starting to implement Error Controller --- API/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'API/Startup.cs') diff --git a/API/Startup.cs b/API/Startup.cs index dbe8fdd..399feca 100644 --- a/API/Startup.cs +++ b/API/Startup.cs @@ -63,7 +63,7 @@ namespace API } else { - app.UseExceptionHandler(); + app.UseExceptionHandler("/Error"); } app.UseHttpsRedirection(); -- cgit v1.2.3