Open topher-lo opened 3 months ago
Committing Empty Workflows - Error message on UI reads "Error committing Workflow"
^Non-informative error when JSONPath KeyError. For example:
This errored: ${{ ACTIONS.analyze_url.result.data.last_analysis_stats }}
Correct usage: ${{ ACTIONS.analyze_url.result.data.attributes.last_analysis_stats }}
^ missing .attributes
^Non-informative error when JSONPath KeyError. For example:
This errored: ${{ ACTIONS.analyze_url.result.data.last_analysis_stats }} Correct usage: ${{ ACTIONS.analyze_url.result.data.attributes.last_analysis_stats }}
^ missing
.attributes
This issue should be fixed in #353. It's actually a known issue with loguru
.
Committing Empty Workflows - Error message on UI reads "Error committing Workflow"
This has also been addressed in a previous PR. Will link if I find it.
NOTE:
For users encountering poor UX related to Tracecat errors, please kindly add your error message to this issue. We aim to have a <24 hour turnover for every insufficiently useful error message.
Problem
We designed the parser from first principles that fits according to parser / complier / arithmetic theory. Therefore existing error messages e.g.
areoften cryptic and do no provide sufficient next steps / information to the user i.e. good for SWEs / development / unit tests but not great for the end user.
Solution