Luuk-Dev / YT-Stream

Create easily readable streams from YouTube video url's
MIT License
23 stars 4 forks source link

fix async error handling #15

Closed andy9879 closed 2 months ago

andy9879 commented 2 months ago

The async inside the promise on the playlist function was making it so when the validatePlaylistURL function threw a error the error would terminate the async but not the promise wrapping it. making handling that error from outside the function impossible.

Luuk-Dev commented 2 months ago

Solved in version 1.7.4. Thanks for noticing!