fix: redirection broken on home if no komga config

This commit is contained in:
Julien Froidefond
2025-03-02 09:06:05 +01:00
parent 4ce6bd962d
commit 555e66812c

View File

@@ -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);
}
}