##// END OF EJS Templates
don't print info when message unpacking fails...
MinRK -
Show More
@@ -588,7 +588,6 b' class Session(Configurable):'
588 588 try:
589 589 return idents, self.unserialize(msg_list, content=content, copy=copy)
590 590 except Exception as e:
591 print (idents, msg_list)
592 591 # TODO: handle it
593 592 raise e
594 593
@@ -661,6 +660,8 b' class Session(Configurable):'
661 660 msg_list[i] = msg_list[i].bytes
662 661 if self.auth is not None:
663 662 signature = msg_list[0]
663 if not signature:
664 raise ValueError("Unsigned Message")
664 665 if signature in self.digest_history:
665 666 raise ValueError("Duplicate Signature: %r"%signature)
666 667 self.digest_history.add(signature)
General Comments 0
You need to be logged in to leave comments. Login now