tid="n/a" if not available

This commit is contained in:
Noah Levitt 2015-11-06 14:44:52 -08:00
parent e3a5717446
commit fe4d7a2769

View File

@ -22,7 +22,7 @@ def gettid():
tid = libc.syscall(SYS_gettid) tid = libc.syscall(SYS_gettid)
return tid return tid
except: except:
logging.warn("gettid failed?", exc_info=True) return "n/a"
import warcprox.controller as controller import warcprox.controller as controller
import warcprox.playback as playback import warcprox.playback as playback