Commit 6b78b1cc authored by Ralf's avatar Ralf
Browse files

Traces of debugging tyshell

parent 92e7d7b2
...@@ -7,6 +7,7 @@ import subprocess ...@@ -7,6 +7,7 @@ import subprocess
import socket import socket
import pwd import pwd
import grp import grp
import traceback
from collections import namedtuple from collections import namedtuple
tuerSock = "/run/tuer.sock" tuerSock = "/run/tuer.sock"
...@@ -104,6 +105,7 @@ while True: ...@@ -104,6 +105,7 @@ while True:
if res: break if res: break
except Exception as e: except Exception as e:
print("Error while executing %s: %s" % (command[0], str(e))) print("Error while executing %s: %s" % (command[0], str(e)))
#print(traceback.format_exc())
else: # multiple commands fit the prefix else: # multiple commands fit the prefix
print("Ambiguous command prefix, please choose one of the following:") print("Ambiguous command prefix, please choose one of the following:")
print("\t", " ".join(cmdoptions)) print("\t", " ".join(cmdoptions))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment