diff options
| Commit | 661c3194b750e42146e9e28a33da08419b2b2cea (patch) | |
|---|---|---|
| Author | 2021-01-19 21:21:13 +0200 | |
| Committer | 2021-01-19 21:21:13 +0200 | |
| Files | e8a81ff8833a3a04610f337613537e9b8bd03455 /src/DevHive.Web/Startup.cs | |
| DevHive-661c3194b750e42146e9e28a33da08419b2b2cea.tar DevHive-661c3194b750e42146e9e28a33da08419b2b2cea.tar.gz DevHive-661c3194b750e42146e9e28a33da08419b2b2cea.zip | ||
| Parent | 293b4ed2c24855cf01239c3dd27b93a325e648c3 (diff) | |
Adjusted custom exception middleware; Removed old Global Exception Handler
1 files changed, 1 insertions, 2 deletions
| -rw-r--r-- | src/DevHive.Web/Startup.cs | 3 |
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(); } |
