From c8e3c70df35fdd96cbb166962a4afc83b6e643ce Mon Sep 17 00:00:00 2001 From: CWX Date: Sat, 3 May 2025 19:21:19 +0100 Subject: [PATCH] add throw so we can use debugger on it. --- Libraries/SPTarkov.Server.Core/Servers/HttpServer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/SPTarkov.Server.Core/Servers/HttpServer.cs b/Libraries/SPTarkov.Server.Core/Servers/HttpServer.cs index 2d9b232f..aeb60794 100644 --- a/Libraries/SPTarkov.Server.Core/Servers/HttpServer.cs +++ b/Libraries/SPTarkov.Server.Core/Servers/HttpServer.cs @@ -110,6 +110,9 @@ public class HttpServer( _logger.Debug("Error handling request: " + context.Request.Path); _logger.Critical(ex.Message); _logger.Critical(ex.StackTrace); +#if DEBUG + throw; // added this so we can debug something. +#endif } // This http request would be passed through the SPT Router and handled by an ICallback