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
Copy file name to clipboardExpand all lines: CS2ServerPicker/Services/ServerService.vb
+14-5Lines changed: 14 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,9 @@ Module ServerService
87
87
88
88
ReturnserverRevision
89
89
CatchexAsException
90
-
MessageBox.Show("An error has occured while retrieving or displaying server data! Please report to github issue-tracker.","Server Data Fetch/Display Error")
90
+
Log_Exception_To_File(ex,"An error has occurred while retrieving or displaying server data!")
91
+
92
+
MessageBox.Show("An error has occurred while retrieving or displaying server data! Please upload error file to github issue tracker","Server Data Fetch/Display Error")
91
93
92
94
Return"null"
93
95
EndTry
@@ -155,7 +157,9 @@ Module ServerService
155
157
ContinueFor
156
158
EndIf
157
159
CatchexAsException
158
-
MessageBox.Show("An error has occured while blocking servers by preset with the following message: "+Environment.NewLine+ex.Message,"Error")
160
+
Log_Exception_To_File(ex,"An error has occurred while blocking servers by preset!")
161
+
162
+
MessageBox.Show("An error has occurred while blocking servers by preset! Please upload error file to github issue tracker.","Error")
159
163
EndTry
160
164
Next
161
165
@@ -216,7 +220,9 @@ Module ServerService
216
220
ContinueFor
217
221
EndIf
218
222
CatchexAsException
219
-
MessageBox.Show("An error has occured while blocking/unblocking selected server with the following message: "+Environment.NewLine+ex.Message,"Error")
223
+
Log_Exception_To_File(ex,"An error has occurred while blocking/unblocking selected server!")
224
+
225
+
MessageBox.Show("An error has occurred while blocking/unblocking selected server! Please upload error file to github issue tracker.","Error")
220
226
EndTry
221
227
Next
222
228
@@ -273,7 +279,9 @@ Module ServerService
273
279
ContinueFor
274
280
EndIf
275
281
CatchexAsException
276
-
MessageBox.Show("An error has occured while blocking/unblocking all servers with the following message: "+Environment.NewLine+ex.Message,"Error")
282
+
Log_Exception_To_File(ex,"An error has occurred while blocking/unblocking all servers!")
283
+
284
+
MessageBox.Show("An error has occurred while blocking/unblocking all servers! Please upload error file to github issue tracker.","Error")
277
285
EndTry
278
286
Next
279
287
@@ -291,7 +299,8 @@ Module ServerService
291
299
proc.Start()
292
300
proc.WaitForExit()
293
301
294
-
DimprocOutput=proc.StandardOutput.ReadToEnd()' retrieve command output from stdout descriptor
0 commit comments