From 4664c1b3bfdbe14881dc6188a4eb806dde65c28d Mon Sep 17 00:00:00 2001 From: Bastian Rihm Date: Wed, 17 Apr 2024 15:59:53 +0200 Subject: [PATCH] Fix autoupdate errors with ok status (#3570) --- client/src/app/worker/http/http-stream.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/app/worker/http/http-stream.ts b/client/src/app/worker/http/http-stream.ts index 3eb7534c36..6fb743318a 100644 --- a/client/src/app/worker/http/http-stream.ts +++ b/client/src/app/worker/http/http-stream.ts @@ -148,6 +148,8 @@ export abstract class HttpStream { if (data instanceof ErrorDescription || isCommunicationError(data) || isCommunicationErrorWrapper(data)) { this.handleError(data); + } else if (isCommunicationError(this.parse(data)) || isCommunicationErrorWrapper(this.parse(data))) { + this.handleError(this.parse(data)); } else { data = this.parse(data); this.failedCounter = 0;