diff options
| author | transtrike <transtrike@gmail.com> | 2021-01-19 21:21:13 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-01-19 21:21:13 +0200 |
| commit | 661c3194b750e42146e9e28a33da08419b2b2cea (patch) | |
| tree | e8a81ff8833a3a04610f337613537e9b8bd03455 /src/DevHive.Web/Startup.cs | |
| parent | 293b4ed2c24855cf01239c3dd27b93a325e648c3 (diff) | |
| download | DevHive-661c3194b750e42146e9e28a33da08419b2b2cea.tar DevHive-661c3194b750e42146e9e28a33da08419b2b2cea.tar.gz DevHive-661c3194b750e42146e9e28a33da08419b2b2cea.zip | |
Adjusted custom exception middleware; Removed old Global Exception Handler
Diffstat (limited to 'src/DevHive.Web/Startup.cs')
| -rw-r--r-- | src/DevHive.Web/Startup.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/DevHive.Web/Startup.cs b/src/DevHive.Web/Startup.cs index 4e55873..8fa346a 100644 --- a/src/DevHive.Web/Startup.cs +++ b/src/DevHive.Web/Startup.cs @@ -47,12 +47,11 @@ namespace DevHive.Web if (env.IsDevelopment()) { - //app.UseDeveloperExceptionPage(); + app.UseDeveloperExceptionPage(); app.UseSwaggerConfiguration(); } else { - app.UseExceptionHandler("/api/Error"); app.UseHsts(); } |
