Skip to content

Commit d3fb715

Browse files
committed
Possible fix for #528 if a connection is limited rather than blocked
1 parent 31c3675 commit d3fb715

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CompactGUI/Services/WikiService.vb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ Public Class WikiService : Implements IWikiService
4242
Await res.CopyToAsync(fs)
4343
End Using
4444

45+
Catch ex As TaskCanceledException
46+
Debug.WriteLine("HTTP request timed out.")
47+
Return
48+
4549
Catch ex As IO.IOException
4650
Debug.WriteLine("Could not update JSON file: file is in use.")
4751
Return

0 commit comments

Comments
 (0)