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

Highlight potential issues in the console output. Closes #443. #458

Merged
merged 1 commit into from
Nov 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions rho/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ def tail_and_follow(path, ansible_verbosity):
print_line = truncate
plabook_started = True
truncated = False
elif 'FAILED!' in line or 'module_stderr' in line:
print(line)
print_line = truncate if truncate > 3 else 4
elif print_line > 0:
line_len = len(line)
char_truncate = truncate * 100
Expand Down