tywil04 / slavartdl

Simple tool written in Go(lang) to download music using the SlavArt Divolt server
GNU General Public License v3.0
17 stars 1 forks source link

Failed link download not caught #20

Closed bacon-cheeseburger closed 1 year ago

bacon-cheeseburger commented 1 year ago

Hi,

While "Waiting for download link..." after sending a download request, the bot returned with "There was an error while downloading!" after several seconds but slavartdl didn't catch the failure message. Instead, it continued waiting for a link that would never come and eventually ended with "Error: timed-out before download link could be found".

tywil04 commented 1 year ago

Turns out I was only checking for errors once, now it checks for errors multiple times. It should now catch any errors that pop up.

Commit if interested: 03e44bf64be79fcc09e5362d70af5bdc65cc4b55