Skip to content

Commit

Permalink
Extend error_indicators with python Exceptions raised by testinfra
Browse files Browse the repository at this point in the history
  • Loading branch information
LegenJCdary committed Dec 12, 2024
1 parent c292213 commit 0890bc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/modules/outputs/formatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ class Formatters:

end_of_task_indicators = ["===================", "An exception occurred during task execution",
"changed=false", "changed=true"]
error_indicators = ["ERROR", "fatal"]
error_indicators = ["ERROR", "fatal", "AssertionError", "NotImplementedError", "RuntimeError",
"ValueError"]
task_indicators = ["TASK", "RUNNING HANDLER"]

def __init__(self, logger):
Expand Down

0 comments on commit 0890bc1

Please sign in to comment.