Skip to content

"no export data": clearer error message #6056

@kevinburkesegment

Description

@kevinburkesegment

Welcome

How did you install golangci-lint?

go install

Your feature request related to a problem? Please describe

"no export data" frequently obscures a more tractable error message - for example a type check failure or other build failure. Many issues reported on Github have this error message attached.

Describe the solution you'd like

If it is possible for goanalysis_metalinter to expose the underlying error, that would be very helpful. Failing that, if the metalinter could detect if the error message contains "no export data", and give a hint - "are you sure the project can be built with no errors?" - that would also help.

Describe alternatives you've considered

We could just keep presenting unclear error messages to end users

Additional context

No response

Supporter

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions