Remove Console.WriteLine usage

This commit is contained in:
Dean Herbert 2021-12-03 15:48:40 +09:00
parent 33992e11e0
commit 79d723172a

View File

@ -89,10 +89,10 @@ namespace osu.Desktop.LegacyIpc
{ {
return new LegacyIpcDifficultyCalculationResponse(); return new LegacyIpcDifficultyCalculationResponse();
} }
}
Console.WriteLine("Type not matched."); default:
return null; throw new ArgumentException($"Unsupported message type {message}");
}
} }
private static Ruleset getLegacyRulesetFromID(int rulesetId) private static Ruleset getLegacyRulesetFromID(int rulesetId)