mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Ignore broken pipe and dropped connection exceptions
This commit is contained in:
parent
50b8685e44
commit
f18a78b59c
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ namespace PluralKit.Bot
|
|||
if (e is WebhookExecutionErrorOnDiscordsEnd) return false;
|
||||
|
||||
// Socket errors are *not our problem*
|
||||
if (e is SocketException) return false;
|
||||
if (e.GetBaseException() is SocketException) return false;
|
||||
|
||||
// Tasks being cancelled for whatver reason are, you guessed it, also not our problem.
|
||||
if (e is TaskCanceledException) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue