mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: ignore nirn-proxy timeouts in IsOurProblem
This commit is contained in:
parent
99e4c9005d
commit
aa896de3af
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue