Skip to content

Improve error message when importing a project with missing or broken wpilib_preferences.json #573

@rzblue

Description

@rzblue

Currently says "Failed to detect project type. Did you select the build.gradle file of a wpilib project?".
The error only occurs when wpilib_preferences.json does not have a valid language property or does not parse, and the error should be adjusted to indicate this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions