aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server/ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'termcast_server/ssh.py')
-rw-r--r--termcast_server/ssh.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/termcast_server/ssh.py b/termcast_server/ssh.py
index fe585df..0b03f28 100644
--- a/termcast_server/ssh.py
+++ b/termcast_server/ssh.py
@@ -3,6 +3,7 @@ import paramiko
import select
import threading
import time
+import traceback
class Connection(object):
def __init__(self, client, connection_id, publisher, keyfile):
@@ -128,6 +129,7 @@ class Connection(object):
try:
total_sent += self.chan.send(data[total_sent:])
except Exception as e:
+ print(traceback.format_exc())
print("*** send failed: " + str(e))
break