mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
add logging
This commit is contained in:
@@ -108,6 +108,11 @@ namespace MediaBrowser.Api.UserLibrary
|
|||||||
throw new InvalidOperationException("GetItemsToSerialize returned null");
|
throw new InvalidOperationException("GetItemsToSerialize returned null");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (result.Items == null)
|
||||||
|
{
|
||||||
|
throw new InvalidOperationException("GetItemsToSerialize result.Items returned null");
|
||||||
|
}
|
||||||
|
|
||||||
var dtoOptions = GetDtoOptions(request);
|
var dtoOptions = GetDtoOptions(request);
|
||||||
|
|
||||||
var dtoList = await _dtoService.GetBaseItemDtos(result.Items, dtoOptions, user).ConfigureAwait(false);
|
var dtoList = await _dtoService.GetBaseItemDtos(result.Items, dtoOptions, user).ConfigureAwait(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user