Skip to content

🐛 [Bug]: Error Message During Check Connectivity showing "[Object Object]" #91

@this-is-shivamsingh

Description

@this-is-shivamsingh

Issue

  • While using this extension on Brave Browser, I add a txt file with with empty {} as content is it
  • Post Click Check Connection(s), it show error message "[object Object]" is not valid JSON
Image
  • Due to this, it's not clear whether the issue in the txt or json file or in the code

Fix

  • Checking if error.message is not type string, JSON.stringify the error message before displaying it

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