Skip to content

Terminates silently when there is a syntax error in config.json. #1534

@shsw228

Description

@shsw228

Describe the bug

Terminates silently when there is a syntax error in config.json.
As a result, the user cannot determine what went wrong.

Affected version

0.0.411

Steps to reproduce the behavior

  1. Edit ~/.copilot/config.json to intentionally introduce a syntax error (e.g., remove a comma).
  2. Run copilot in the terminal.
    3.It exits immediately without any error message.

Expected behavior

Expected behavior: either report the syntax error explicitly, or ignore the invalid config and continue to start.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions