diff --git a/src/Discord.Net.Core/Net/HttpException.cs b/src/Discord.Net.Core/Net/HttpException.cs index 4141979a0..1c872245c 100644 --- a/src/Discord.Net.Core/Net/HttpException.cs +++ b/src/Discord.Net.Core/Net/HttpException.cs @@ -20,7 +20,7 @@ namespace Discord.Net private static string CreateMessage(HttpStatusCode httpCode, int? discordCode = null, string reason = null) { string msg; - if (discordCode != null) + if (discordCode != null && discordCode != 0) { if (reason != null) msg = $"The server responded with error {(int)discordCode}: {reason}";