Closed ystxn closed 3 years ago
Hi @ystan-
I checked with the latest version of the BDK, calling listRoomMembers
with an invalid stream id and only got one call maybe and no retry attempts.
Are you sure this is the same request that is retried (the thread id is different in the logs)?
Hey @symphony-youri you are right. Sorry, my bad.
I was confused with the ERROR
level log still being printed from the RetryWithRecovery
class while I had explicitly caught both exceptions.
Bug Report
Steps to Reproduce:
streamService.listRoomMembers(streamId)
with an invalid stream idExpected Result:
Throw exception and do not retry
Actual Result:
Exception thrown, but call is retried 2 more times with no opportunity to catch the retries Logs suggest that errors have occurred although the behaviour is expected
Environment:
v2.1.7
Additional Context: