Commit c297ff32 authored by Guido van Rossum's avatar Guido van Rossum

Use short_repr() when a message can't be decoded. The garbage could

be arbitrarily long.
parent 153fb529
......@@ -38,7 +38,7 @@ class Marshaller:
try:
return unpickler.load() # msgid, flags, name, args
except:
log("can't decode message: %s" % repr(msg), level=zLOG.ERROR)
log("can't decode message: %s" % short_repr(msg), level=zLOG.ERROR)
raise
_globals = globals()
......
Markdown is supported
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