Skip to content

Commit f4a21b3

Browse files
authored
Merge pull request #346 from cardano-foundation/fix/endRoleCorrectExceptions
fix: pass UnverifiedReplyError again for end role
2 parents f4a1032 + 9bd19f5 commit f4a21b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/keria/app/aiding.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,9 @@ def on_post(req, rep, name, aid=None, role=None):
13301330
)
13311331
try:
13321332
agent.hby.rvy.processReply(rserder, tsgs=[tsg])
1333-
except (kering.UnverifiedReplyError, kering.ValidationError):
1333+
except kering.UnverifiedReplyError:
1334+
pass
1335+
except kering.ValidationError:
13341336
raise falcon.HTTPBadRequest(description="unable to verify end role reply message")
13351337

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

0 commit comments

Comments
 (0)