Skip to content

Implement error message when JSON is invalid syntax #77

@ericallam

Description

@ericallam

@samejr has helpfully created a ToastPopover UI element that is ready to use for this issue in the toast-ui branch. What we'd like to happen is if there is a JSON parsing error we should show this an error that displays the parsing error message in a toast (using the above UI component). You would need to update the createFromUrl.ts action function to catch JSON parsing errors and redirect back to the root "/" path and store the toast message in a cookie (see this remix example for an example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hacktoberfestGreat issues for Hacktoberfest participants

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions