Sfoglia il codice sorgente

Fixed string not being interpolated correctly

Kenric Nugteren 1 anno fa
parent
commit
706a194a91
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      prs.server/Engines/GPS/OEMListener.cs

+ 1 - 1
prs.server/Engines/GPS/OEMListener.cs

@@ -50,7 +50,7 @@ namespace PRSServer
             {
                 try
                 {
-                    Logger.Send(LogType.Information, "", "OEM Connection opened; {Connections.Count} connections open.");
+                    Logger.Send(LogType.Information, "", $"OEM Connection opened; {Connections.Count} connections open.");
                     var connection = new OEMConnection(t.Result, Cache, Queue);
                     lock (connectionsLock)
                     {