Skip to content

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

Description

@DeaDvey

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions