From 555e66812c1350f5f9c8f8a4d5e813b7757e6cbc Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Sun, 2 Mar 2025 09:06:05 +0100 Subject: [PATCH] fix: redirection broken on home if no komga config --- src/lib/services/home.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/services/home.service.ts b/src/lib/services/home.service.ts index 967e6be..04dbbd3 100644 --- a/src/lib/services/home.service.ts +++ b/src/lib/services/home.service.ts @@ -96,6 +96,9 @@ export class HomeService extends BaseApiService { latestSeries: latestSeries.content || [], }; } catch (error) { + if (error instanceof AppError) { + throw error; + } throw new AppError(ERROR_CODES.HOME.FETCH_ERROR, {}, error); } }