Added request logger

This commit is contained in:
Alex
2025-01-16 13:09:38 +00:00
parent 62f917b325
commit 8284c17855
10 changed files with 104 additions and 38 deletions
+1
View File
@@ -60,6 +60,7 @@ public static class Program
}
catch (Exception ex)
{
Console.WriteLine(ex);
logger.LogCritical(ex, "Critical exception, stopping server...");
// throw ex;
}