Skip to content

fix: fix error format#847

Merged
raluik merged 3 commits into
masterfrom
rando/prod-2172
May 28, 2026
Merged

fix: fix error format#847
raluik merged 3 commits into
masterfrom
rando/prod-2172

Conversation

@raluik

@raluik raluik commented May 28, 2026

Copy link
Copy Markdown
Contributor

Fix subscription retry error format.

Related issues

https://github.com/Qminder/server/issues/28419#event-26053011599.

@raluik raluik requested a review from KonradPaluch May 28, 2026 08:45
subscriber?.error([
{
message: `Subscription failed after ${this.retryableErroredSubscriptionsRetryCount} retries`,
errorType: 'ERROR',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

question: we don't need to add this to nonretryable errors array right?
there is no way this one could be received from the socket

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.

Nope. This is never sent from the back-end.

@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 May 28, 2026
Merged via the queue into master with commit 95386d3 May 28, 2026
10 checks passed
@raluik raluik deleted the rando/prod-2172 branch May 28, 2026 11:28
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