1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Improve log message for invalid TotalRecordCount in getItems

Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
dann-merlin 2023-03-07 23:52:34 +00:00
parent aede0fa8ca
commit baa4f0a29d

View file

@ -35,8 +35,7 @@ function mergeResults(results: BaseItemDtoQueryResult[]) {
continue;
}
if (result.TotalRecordCount == null) {
console.log(`Retrieved TotalRecordCount is invalid: ${
result.TotalRecordCount}`);
console.log('[getItems] Retrieved TotalRecordCount is invalid', result.TotalRecordCount);
continue;
}
if (result.StartIndex == null) {