Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

#37: unicode freakout (fixed)

  • Loading branch information...
commit e5aa30f80a16fb6871233c1b04baff3f435297b8 1 parent 84c0811
@onethirtyfive onethirtyfive authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  skadi/engine/user_message.py
View
2  skadi/engine/user_message.py
@@ -96,6 +96,8 @@ def parse(pbmsg):
try:
_pbmsg = getattr(ns, cls)()
_pbmsg.ParseFromString(pbmsg.msg_data)
+ except UnicodeDecodeError, e:
+ print '! unable to decode protobuf: {}'.format(e)
except AttributeError, e:
err = '! protobuf {0}: open an issue at github.com/onethirtyfive/skadi'
print err.format(cls)
Please sign in to comment.
Something went wrong with that request. Please try again.