Skip to content

Commit

Permalink
better debugging of low level write errors (ie: py3k strings..)
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@9317 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 12, 2015
1 parent 68deee8 commit 1644d9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xpra/net/bytestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def untilConcludes(is_active_cb, f, *a, **kw):
except socket.timeout as e:
log("untilConcludes(%s, %s, %s, %s) %s", is_active_cb, f, a, kw, e)
continue
except TypeError:
log.warn("untilConcludes error calling %s with %s", f, a)
raise
except (IOError, OSError) as e:
code = e.args[0]
can_continue = CONTINUE.get(code)
Expand Down

0 comments on commit 1644d9b

Please sign in to comment.