mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-05 07:49:10 -07:00
WinRM: fix format_exc call (#34233)
This fix adds correct call for format_exc in winrm plugin. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
e9e316c76b
commit
3f4dfb2574
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class Connection(ConnectionBase):
|
|||
|
||||
except Exception as ex:
|
||||
from traceback import format_exc
|
||||
display.warning("FATAL ERROR DURING FILE TRANSFER: %s" % format_exc(ex))
|
||||
display.warning("FATAL ERROR DURING FILE TRANSFER: %s" % format_exc())
|
||||
stdin_push_failed = True
|
||||
|
||||
if stdin_push_failed:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue