Fix lint issues and improve type safety
This commit is contained in:
@@ -57,7 +57,7 @@ export const loadHls = async (): Promise<any> => {
|
||||
const Hls = await loadHlsFromCDN()
|
||||
return Hls
|
||||
} catch (cdnError) {
|
||||
console.error('❌ [HLS Loader] Failed to load hls.js from both npm and CDN')
|
||||
console.error('❌ [HLS Loader] Failed to load hls.js from both npm and CDN', cdnError)
|
||||
throw new Error('Unable to load HLS.js library. HLS streaming is not available.')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user