Logging
This commit is contained in:
parent
a1b91eefc0
commit
b8737fb687
@ -87,7 +87,10 @@ class CompletedTaskListener : CoordinatorEventListener() {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
val proper = mediaInfo?.data?.toValueObject() ?: return null
|
val proper = mediaInfo?.data?.toValueObject() ?: run {
|
||||||
|
log.error { "Unable to get media object from data" }
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
val details = VideoDetails(
|
val details = VideoDetails(
|
||||||
type = proper.type,
|
type = proper.type,
|
||||||
|
|||||||
@ -110,6 +110,7 @@ object ContentCatalogStore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun storeSerie(collection: String, videoDetails: VideoDetails) {
|
private fun storeSerie(collection: String, videoDetails: VideoDetails) {
|
||||||
|
log.info { "Attempting to store $collection!" }
|
||||||
val serieInfo = videoDetails.serieInfo ?: run {
|
val serieInfo = videoDetails.serieInfo ?: run {
|
||||||
log.error { "serieInfo in videoDetails is null!" }
|
log.error { "serieInfo in videoDetails is null!" }
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user