fix: ignore nirn-proxy timeouts in IsOurProblem

This commit is contained in:
spiral 2022-04-20 10:45:35 -04:00
parent 99e4c9005d
commit aa896de3af
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -52,6 +52,7 @@ public static class MiscUtils
// Sometimes Discord just times everything out.
if (e is TimeoutException) return false;
if (e is UnknownDiscordRequestException tde && tde.Message == "Request Timeout") return false;
// HTTP/2 streams are complicated and break sometimes.
if (e is HttpRequestException) return false;