mirror of
https://github.com/iptv-org/epg
synced 2026-04-02 00:51:30 -04:00
Handled cases where bis_program_code is not available.
This commit is contained in:
@@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user