summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/public_ip_ssh
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/public_ip_ssh')
-rw-r--r--kpov_judge/tasks/public_ip_ssh/task.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpov_judge/tasks/public_ip_ssh/task.py b/kpov_judge/tasks/public_ip_ssh/task.py
index e308184..fdbcc45 100644
--- a/kpov_judge/tasks/public_ip_ssh/task.py
+++ b/kpov_judge/tasks/public_ip_ssh/task.py
@@ -42,9 +42,9 @@ def task_check(results, params):
try:
s.login(peer_ip, peer_user, peer_passwd)
s.logout()
- except:
- return 0
- return 10
+ except Exception, e:
+ return 0, [str(e)]
+ return 10, []
def prepare_disks(templates, params):
pass