summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Program.cs')
-rw-r--r--src/SMAPI.Web/Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Program.cs b/src/SMAPI.Web/Program.cs
index 5856fc98..5d13cdf3 100644
--- a/src/SMAPI.Web/Program.cs
+++ b/src/SMAPI.Web/Program.cs
@@ -16,6 +16,8 @@ namespace StardewModdingAPI.Web
// configure web server
WebHost
.CreateDefaultBuilder(args)
+ .CaptureStartupErrors(true)
+ .UseSetting("detailedErrors", "true")
.UseStartup<Startup>()
.Build()
.Run();