-
Notifications
You must be signed in to change notification settings - Fork 91
more graceful error handling for rule-file parsing #104
Comments
@cryptofilegsa I'm a little confused about these issues. I don't think the laptop script uses seekret yet, right? That's still a work in progress as far as I know, in this PR: #69 If the issue is with the ongoing work, could you please post a comment in PR #69 as opposed to creating an issue? The issues are meant for bugs with what's in the master branch. Thanks! |
I see now that there's a Project in this repo called |
Currently, there doesn't seem to be an easy way to filter issues so that only the ones that affect the master branch show up, which is my concern. |
Should this issue be in the git-seekret repo? This repo contains the rules, but I assume parsing and error handling happens in the git-seekret code. |
Deleting as stale based on the TTS Tech Portfolio Deep Grooming session from 3/30/20; if you have any questions, comments or concerns, please let us know either in the #infrastructure or #tts-tech-portfolio slack channels |
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.ruleYamlWould be nice to handle failed rule files with a try...catch in such a way that their failure to be parsed did the following:
The text was updated successfully, but these errors were encountered: