projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python: log exception details when agent thread cannot start
[lttng-ust.git]
/
src
/
python-lttngust
/
lttngust
/
agent.py
diff --git
a/src/python-lttngust/lttngust/agent.py
b/src/python-lttngust/lttngust/agent.py
index d0c1af7ca8eab3883129e9e889012d48735d7cd2..0cb31618a6534b65fb0777e2357ec4617a5c456b 100644
(file)
--- a/
src/python-lttngust/lttngust/agent.py
+++ b/
src/python-lttngust/lttngust/agent.py
@@
-362,9
+362,9
@@
def _init_threads():
t.start()
dbg._pdebug('created and started user client thread')
reg_expecting += 1
t.start()
dbg._pdebug('created and started user client thread')
reg_expecting += 1
- except:
+ except
Exception as e
:
# cannot create threads for some reason; stop this initialization
# cannot create threads for some reason; stop this initialization
- dbg._pwarning('cannot create client threads
'
)
+ dbg._pwarning('cannot create client threads
: {}'.format(e)
)
return
if reg_expecting == 0:
return
if reg_expecting == 0:
This page took
0.027414 seconds
and
4
git commands to generate.