fix: Fixes socket disconnect on block. Fixes debug logging (#1031)
This commit is contained in:
parent
9bbcb4b274
commit
ef883b2872
5 changed files with 30 additions and 42 deletions
|
|
@ -70,9 +70,7 @@ namespace Server
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
#if DEBUG
|
||||
Console.WriteLine(ex);
|
||||
#endif
|
||||
logger.Debug(ex, "Failed to load map definition {MapDefName} ({MapDefId})", def.Name, def.Id);
|
||||
failures.Add($"\tInvalid map definition {def.Name} ({def.Id})");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue