Final code cleanup

This commit is contained in:
JustArchi
2020-11-14 22:37:00 +01:00
parent ea1429a209
commit e82560259b
56 changed files with 2176 additions and 1428 deletions

View File

@@ -37,7 +37,7 @@ namespace ArchiSteamFarm {
internal sealed class DebugListener : IDebugListener {
public void WriteLine(string category, string msg) {
if (string.IsNullOrEmpty(category) && string.IsNullOrEmpty(msg)) {
throw new ArgumentNullException(nameof(category) + " && " + nameof(msg));
throw new InvalidOperationException(nameof(category) + " && " + nameof(msg));
}
ASF.ArchiLogger.LogGenericDebug(category + " | " + msg);