fix: redirection broken on home if no komga config
This commit is contained in:
@@ -96,6 +96,9 @@ export class HomeService extends BaseApiService {
|
|||||||
latestSeries: latestSeries.content || [],
|
latestSeries: latestSeries.content || [],
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
if (error instanceof AppError) {
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
throw new AppError(ERROR_CODES.HOME.FETCH_ERROR, {}, error);
|
throw new AppError(ERROR_CODES.HOME.FETCH_ERROR, {}, error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user