From 2262b7b331efdd1ecfaa8572687e03dacd175d8f Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 3 Dec 2021 15:35:06 +0900 Subject: [PATCH] Adjust logging to avoid using tabs --- osu.Desktop/LegacyIpc/LegacyTcpIpcProvider.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}"); } }