Option to expose more error detail in CI #141
-
Is there an option to expose more detail in CI(Github action in this case) when an error occurs? For example, If I load two duplicate rules with different formats(JSON & YAML), I get this error in CI I know this is because two rules are loaded with duplicate IDs, and an exception is thrown. However, I would like to expose the full exception output in CI. Is this possible? A user new to this tool will probably get stuck looking at an error like this, and we should provide an option to show the full error output in CI. Apologise in advance if we do have this capability and I'm just not seeing it 😄. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@ArmaanMcleod It probably relates to Lines 257 to 260 in 158611d Id' suggest we should be pushing a custom exception type through then we can provide some additional information in output. |
Beta Was this translation helpful? Give feedback.
-
I am running against the same problem that there is no detailed error message what is going precisely wrong. |
Beta Was this translation helpful? Give feedback.
@ArmaanMcleod It probably relates to
ps-rule/powershell.ps1
Lines 257 to 260 in 158611d
Id' suggest we should be pushing a custom exception type through then we can provide some additional information in output.