You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead, we should ignore the error, log it, and dump the rest of the message as raw text for display.
From raygun:
[JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.]
Newtonsoft.Json.JsonTextReader.ParseValue():0
Newtonsoft.Json.JsonTextReader.ReadInternal():67
Newtonsoft.Json.JsonTextReader.Read():7
Particular.ServiceInsight.Desktop.CodeParser.JsonParser.Parse(SourcePart text) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\JsonParser.cs:25
Particular.ServiceInsight.Desktop.CodeParser.BaseParser.Parse(String text) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\BaseParser.cs:97
Particular.ServiceInsight.Desktop.CodeParser.CodeLexem.Parse(CodeLanguage lang) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\CodeLexem.cs:36
Particular.ServiceInsight.Desktop.CodeParser.CodeBlockPresenter.FillInlines(String text, InlineCollection collection, Brush brush) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\CodeBlockPresenter.cs:27
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageView.Display(String message) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\MessageViewers\JsonViewer\JsonMessageView.xaml.cs:21
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageViewModel.OnSelectedMessageChanged() in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\MessageViewers\JsonViewer\JsonMessageViewModel.cs:35
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageViewModel.set_SelectedMessage(MessageBody value):35
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageViewModel.Handle(SelectedMessageChanged event) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\MessageViewers\JsonViewer\JsonMessageViewModel.cs:40
The text was updated successfully, but these errors were encountered:
Instead, we should ignore the error, log it, and dump the rest of the message as raw text for display.
From raygun:
[JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.]
Newtonsoft.Json.JsonTextReader.ParseValue():0
Newtonsoft.Json.JsonTextReader.ReadInternal():67
Newtonsoft.Json.JsonTextReader.Read():7
Particular.ServiceInsight.Desktop.CodeParser.JsonParser.Parse(SourcePart text) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\JsonParser.cs:25
Particular.ServiceInsight.Desktop.CodeParser.BaseParser.Parse(String text) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\BaseParser.cs:97
Particular.ServiceInsight.Desktop.CodeParser.CodeLexem.Parse(CodeLanguage lang) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\CodeLexem.cs:36
Particular.ServiceInsight.Desktop.CodeParser.CodeBlockPresenter.FillInlines(String text, InlineCollection collection, Brush brush) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\CodeParser\CodeBlockPresenter.cs:27
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageView.Display(String message) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\MessageViewers\JsonViewer\JsonMessageView.xaml.cs:21
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageViewModel.OnSelectedMessageChanged() in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\MessageViewers\JsonViewer\JsonMessageViewModel.cs:35
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageViewModel.set_SelectedMessage(MessageBody value):35
Particular.ServiceInsight.Desktop.MessageViewers.JsonViewer.JsonMessageViewModel.Handle(SelectedMessageChanged event) in c:\BuildAgent\work\2be762a799648224\src\ServiceInsight.Desktop\MessageViewers\JsonViewer\JsonMessageViewModel.cs:40
The text was updated successfully, but these errors were encountered: