Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

more graceful error handling for rule-file parsing #104

Description

@cryptofilegsa

A rule file that fails to be parsed can produce an error that looks like this:
Configuring Seekret
yaml: unmarshal errors:
line 1: cannot unmarshal !!str Not Found into seekret.ruleYaml

Would be nice to handle failed rule files with a try...catch in such a way that their failure to be parsed did the following:

  1. named the culprit rule file(s)
  2. did not make git-seekrets hard fail
  3. contained a link to where or how to get the most updated/best/fixed rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions