chat-analytics icon indicating copy to clipboard operation
chat-analytics copied to clipboard

(suggestion) Program shouldn't fail when JSON is unreadable

Open DeaDvey opened this issue 2 months ago • 0 comments

This applies to the Discord Exports JSON reader. When a particular exported channel throws this JSON error:

Error parsing file "<channel name>":

JSON.parse: unexpected character at line 1 column 1 of the JSON data

The website displays the error and stops, prompting the user to restart the process. This is annoying if one file shows an error and all the others are readable. I believe the report generation step should just display a warning and move on to the next file.

Thanks

  • DeaDvey

DeaDvey avatar Nov 10 '25 21:11 DeaDvey