You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MessageBox.Show(ex.ToString()+"\n\nNo further log writing errors will be shown in this session to avoid interrupting your work.","Error writing to log file",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
66
-
//MessageBox.Show(string.Format("{0}\\{1}.log", configDir, Constants.PluginName), "Error writing to log file", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
57
+
awaitsemaphore.WaitAsync();
58
+
59
+
if(writer==null)writer=Setup();// we'll try to keep the file opened all the time and see how bad we end up with it
MessageBox.Show(ex.ToString()+"\n\nNo further log writing errors will be shown in this session to avoid interrupting your work.","Error writing to log file",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
71
+
//MessageBox.Show(string.Format("{0}\\{1}.log", configDir, Constants.PluginName), "Error writing to log file", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
0 commit comments