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.
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.