Skip to content

Commit

Permalink
Merge pull request #346 from cardano-foundation/fix/endRoleCorrectExc…
Browse files Browse the repository at this point in the history
…eptions

fix: pass UnverifiedReplyError again for end role
  • Loading branch information
kentbull authored Jan 10, 2025
2 parents f4a1032 + 9bd19f5 commit f4a21b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/keria/app/aiding.py
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,9 @@ def on_post(req, rep, name, aid=None, role=None):
)
try:
agent.hby.rvy.processReply(rserder, tsgs=[tsg])
except (kering.UnverifiedReplyError, kering.ValidationError):
except kering.UnverifiedReplyError:
pass
except kering.ValidationError:
raise falcon.HTTPBadRequest(description="unable to verify end role reply message")

oid = ".".join([pre, role, eid])
Expand Down

0 comments on commit f4a21b3

Please sign in to comment.