mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added wrap_text to 'last resort' as it fails if there is an error in callbacks
This commit is contained in:
parent
8146a193eb
commit
e49575ff56
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ class LastResort(object):
|
||||||
def display(self, msg):
|
def display(self, msg):
|
||||||
print(msg, file=sys.stderr)
|
print(msg, file=sys.stderr)
|
||||||
|
|
||||||
error = display
|
def error(self, msg, wrap_text=None):
|
||||||
|
print(msg, file=sys.stderr)
|
||||||
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue