Skip to content

Commit

Permalink
Manually revert 71f374c
Browse files Browse the repository at this point in the history
  • Loading branch information
Plenyx committed Jul 1, 2024
1 parent cb4b4e2 commit 8eeade4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Forms/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,9 @@ internal async Task HttpUploadLogAsync(string file, Dictionary<string, string> p
}
try
{
var reportJson = JsonConvert.DeserializeObject<DpsReportJson>(responseMessage.Content);
var messageContent = responseMessage.Content;
messageContent = messageContent?.Replace("\"players\": []", "\"players\": {}");
var reportJson = JsonConvert.DeserializeObject<DpsReportJson>(messageContent);
if (!string.IsNullOrEmpty(reportJson.Error))
{
AddToText($">:> Error processing file {Path.GetFileName(file)}, dps.report responded with following error message: {reportJson.Error}");
Expand Down

0 comments on commit 8eeade4

Please sign in to comment.