diff options
author | Rob Austein <sra@hactrn.net> | 2009-07-20 18:52:45 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-07-20 18:52:45 +0000 |
commit | f35697900b9e93e73a28985a92cfd5d8752a2760 (patch) | |
tree | 5d9c08c904b9c47bdee28db404f8a01dbcdd0509 | |
parent | 907639a016bf9740dee40db2ae4025f64405e4bc (diff) |
Show the offending PDU when raising BadPublicationReply.
svn path=/rpkid/rpki/left_right.py; revision=2650
-rw-r--r-- | rpkid/rpki/left_right.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py index 07a1db54..a2c1b01f 100644 --- a/rpkid/rpki/left_right.py +++ b/rpkid/rpki/left_right.py @@ -565,7 +565,7 @@ class repository_elt(data_elt): try: r_msg = rpki.publication.cms_msg.unwrap(r_cms, bpki_ta_path) if len(r_msg) != 1 or isinstance(r_msg[0], rpki.publication.report_error_elt): - raise rpki.exceptions.BadPublicationReply, "Unexpected response from pubd: %s" % msg + raise rpki.exceptions.BadPublicationReply, "Unexpected response from pubd: %s" % str(r_msg) callback() except (rpki.async.ExitNow, SystemExit): raise |