This commit is contained in:
Pavel Loginov
2019-12-23 18:08:34 +03:00
parent 4f90857e21
commit ab1e72a5bc
2 changed files with 4 additions and 3 deletions

View File

@@ -651,6 +651,7 @@ def ssh_command(serv, commands, **kwargs):
try:
ssh.close()
except:
print("<div class='alert alert-danger' style='margin: 0;'>"+str(ssh)+"<a title='Close' id='errorMess'><b>X</b></a></div>")
logging('localhost', ' '+str(ssh), haproxywi=1)
pass