Skip to content

Copilot crashes without error message for misformatted config #1271

@jtschuster

Description

@jtschuster

Describe the bug

I manually edited my config.json and forgot a comma in my trusted directories list. Copilot exited at startup with exit code 1 and didn't log any output.

Affected version

0.0.401

Steps to reproduce the behavior

  1. Edit config.json with invalid json format.
  2. Try to launch copilot
  3. Copilot exits with 1 exit code and no warning or output

Expected behavior

I expect this would give a warning that the config is not formatted correctly.

Additional context

Widows x64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions