mirror of https://github.com/ppy/osu
Adjust logging to avoid using tabs
This commit is contained in:
parent
9c717ce7ec
commit
2262b7b331
|
@ -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<LegacyIpcMessage.Data>();
|
||||
object value = parseObject((JObject)legacyData!.MessageData, legacyData.MessageType);
|
||||
|
@ -64,7 +64,7 @@ private object parseObject(JObject value, string type)
|
|||
return value.ToObject<LegacyIpcDifficultyCalculationResponse>();
|
||||
|
||||
default:
|
||||
throw new ArgumentException($"Unknown type: {type}");
|
||||
throw new ArgumentException($"Unsupported object type {type}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue