Skip to content

fix: pass errored subscription original error to clients#849

Merged
raluik merged 2 commits into
masterfrom
rando/pass-initial-error-to-subcription-clients
Jun 1, 2026
Merged

fix: pass errored subscription original error to clients#849
raluik merged 2 commits into
masterfrom
rando/pass-initial-error-to-subcription-clients

Conversation

@raluik

@raluik raluik commented May 29, 2026

Copy link
Copy Markdown
Contributor

Pass errored subscription original error to clients.

Currently we the clients don't know what actually caused the subscription to fail. We "overwrite" it with our own retry error, which is actually an implementation/internal detail.


this.logger.info(
`Retry (${retryCount}) errored subscriptions in ${delay.toFixed(0)}ms`,
`Retry (retry count: ${retryCount}) errored subscriptions in ${delay.toFixed(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before one may have read that e.g. in case of Retry (2) errored subscriptions ..., we're trying 2 errored subscriptions, and for the next retry, 3, etc.

@raluik raluik requested a review from KonradPaluch May 29, 2026 08:58

@KonradPaluch KonradPaluch left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@raluik raluik added this pull request to the merge queue Jun 1, 2026
Merged via the queue into master with commit 2b2456c Jun 1, 2026
10 checks passed
@raluik raluik deleted the rando/pass-initial-error-to-subcription-clients branch June 1, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants