Skip to content

Notify invalid project-level configurations #26

Open
@sacha-c

Description

@sacha-c

Is your feature request related to a problem? Please describe.
When a project has an invalid toml configuration, it fails silently.

Describe the solution you'd like
If the project-level TOML is parseable but has errors

  • Show errors or warnings in sheriff's logs. (should it be reflected in sheriff's exit code? 🤔 maybe not since this is really up to the project )
  • If the project-level config gives a messaging channel to report to, include the specific errors in the report
  • Include it somehow in the main report (like a little ⚠️ next to the project for example)

If the project-level TOML is completely unparseable

  • Show errors or warnings in sheriff's logs. (should it be reflected in sheriff's exit code? 🤔 maybe not since this is really up to the project )
  • Include it somehow in the main report (like a little ⚠️ next to the project for example)

Describe alternatives you've considered
...

Additional context
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions