mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-09 00:20:08 -04:00
Handled cases where bis_program_code is not available.
This commit is contained in:
parent
b4c4d51b07
commit
87c14f0203
1 changed files with 4 additions and 2 deletions
|
@ -114,10 +114,12 @@ async function parseProgramDetail(item) {
|
|||
}
|
||||
)
|
||||
.then(response => {
|
||||
// console.log('Retrieved program detail: bis_program_code ' + item.pgmCd)
|
||||
return response.data
|
||||
})
|
||||
.catch(error => {
|
||||
console.log(error)
|
||||
.catch(function () {
|
||||
// The provider/server may not have details on every single programs.
|
||||
// console.log('Unavailable program detail: bis_program_code ' + item.pgmCd)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue