Actually enable node request logging in swarm mode

This commit is contained in:
Dominion
2023-05-17 23:10:38 -04:00
parent e4debac5bc
commit 39692bec2c
2 changed files with 8 additions and 2 deletions
@@ -435,7 +435,10 @@ namespace Tgstation.Server.Host.Core
});
// setup the HTTP request pipeline
// Final point where we wrap exceptions in a 500 (ErrorMessage) response
// Add additional logging context to the request
applicationBuilder.UseAdditionalRequestLoggingContext(swarmConfiguration);
// Wrap exceptions in a 500 (ErrorMessage) response
applicationBuilder.UseServerErrorHandling();
// Add the X-Powered-By response header