Whenever the bridge errors (we see the below ones usually when Discord is congested/takes too long to respond, but that's not the point of the ticket) -- it dumps it to game chat.
Can we please get this to just go to logs instead of spamming a 13 line stacktrace to in game chat and the discord channel?
[11:56 AM] BOT Lambda Draconis: System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at DSharpPlus.Net.DiscordApiClient.<CreateMessageAsync>d39.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at SEDiscordBridge.DiscordBridge.<>cDisplayClass26_0.b0()
---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at DSharpPlus.Net.DiscordApiClient.d39.MoveNext()<---
[11:56 AM] BOT Delta Draconis: Ebass: Discord dead
[11:56 AM] BOT Lambda Draconis: electrobombs: its that covid connection
[11:56 AM] BOT Delta Draconis: System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at DSharpPlus.Net.DiscordApiClient.d39.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at SEDiscordBridge.DiscordBridge.<>cDisplayClass26_0.<SendChatMessage>b0() ---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at DSharpPlus.Net.DiscordApiClient.<CreateMessageAsync>d39.MoveNext()<---
Whenever the bridge errors (we see the below ones usually when Discord is congested/takes too long to respond, but that's not the point of the ticket) -- it dumps it to game chat.
Can we please get this to just go to logs instead of spamming a 13 line stacktrace to in game chat and the discord channel?
[11:56 AM] BOT Lambda Draconis: System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at DSharpPlus.Net.DiscordApiClient.<CreateMessageAsync>d39.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at SEDiscordBridge.DiscordBridge.<>cDisplayClass26_0.1.GetResultCore(Boolean waitCompletionNotification) at SEDiscordBridge.DiscordBridge.<>cDisplayClass26_0.<SendChatMessage>b0() ---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings) at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings) at DSharpPlus.Net.DiscordApiClient.<CreateMessageAsync>d39.MoveNext()<---