Network code improvment

This commit is contained in:
szporowolik
2019-10-20 01:06:14 +02:00
parent 2f7d2d07bb
commit fcb007bc98
2 changed files with 36 additions and 16 deletions

View File

@@ -35,8 +35,15 @@ class LogController
}
}
log = new StreamWriter(fileStream);
log.WriteLine(strLog);
log.Close();
try
{
log = new StreamWriter(fileStream);
log.WriteLine(strLog);
log.Close();
}
catch
{
}
}
}