summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkpov_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_util.py b/kpov_util.py
index 2ebc725..8434f85 100755
--- a/kpov_util.py
+++ b/kpov_util.py
@@ -36,7 +36,7 @@ def ssh_test(host, user, password, commands=()):
except pexpect.exceptions.TIMEOUT as e:
results['ssh'] = 'connection to {} as {}/{} failed (timeout)'.format(host, user, password)
except Exception as e:
- results['ssh'] = str(e)
+ results['ssh'] = 'connection to {} as {}/{} failed ({})'.format(host, user, password, e)
return results
def alnum_gen(r, l=1):