Add verbose logging to failing handlers for now

This commit is contained in:
Archangel
2025-03-09 18:11:22 +01:00
parent 3c83018513
commit c5e1ec4030
@@ -133,7 +133,16 @@ public class HttpServer(
}
_httpListeners.SingleOrDefault(l => l.CanHandle(sessionId, context.Request))?.Handle(sessionId, context.Request, context.Response);
try
{
_httpListeners.SingleOrDefault(l => l.CanHandle(sessionId, context.Request))?.Handle(sessionId, context.Request, context.Response);
}
catch (Exception ex)
{
_logger.Critical(ex.Message);
_logger.Critical(ex.StackTrace);
}
// This http request would be passed through the SPT Router and handled by an ICallback
}