diff --git a/osu.Desktop/LegacyIpc/LegacyTcpIpcProvider.cs b/osu.Desktop/LegacyIpc/LegacyTcpIpcProvider.cs index 273e17d24b..a48a6fc631 100644 --- a/osu.Desktop/LegacyIpc/LegacyTcpIpcProvider.cs +++ b/osu.Desktop/LegacyIpc/LegacyTcpIpcProvider.cs @@ -36,8 +36,8 @@ public LegacyTcpIpcProvider() { try { - logger.Add($"Processing legacy IPC message..."); - logger.Add($"\t{msg.Value}", LogLevel.Debug); + logger.Add("Processing legacy IPC message..."); + logger.Add($" {msg.Value}", LogLevel.Debug); var legacyData = ((JObject)msg.Value).ToObject(); object value = parseObject((JObject)legacyData!.MessageData, legacyData.MessageType); @@ -64,7 +64,7 @@ private object parseObject(JObject value, string type) return value.ToObject(); default: - throw new ArgumentException($"Unknown type: {type}"); + throw new ArgumentException($"Unsupported object type {type}"); } }