Skip to content

Commit

Permalink
log the full stacktrace at debug level
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@11711 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Jan 21, 2016
1 parent 87b0ada commit adea475
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/scripts/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ def setup_local_sockets(bind, socket_dir, socket_dirs, display_name, clobber, mm
defs.append((("unix-domain", sock, sockpath), cleanup_socket))
sockpaths.add(sockpath)
except Exception as e:
log.error("failed to create socket %s" % sockpath, exc_info=True)
log("socket creation error", exc_info=True)
log.error("failed to create socket %s:" % sockpath)
log.error(" %s", e)
raise InitException("failed to create socket %s" % sockpath)
except:
for sock, cleanup_socket in defs:
Expand Down

0 comments on commit adea475

Please sign in to comment.