Sometimes e-book goes missing from the website. The download link is still there, but instead of a zip archive we find there an HTML page saying that the book has been removed. The bot doesn't handle this situation explicitly and instead treats the downloaded page as a ZIP archive and fails, which looks like a generic runtime error to the user.
I should handle this situation explicitly with a clear message, so it's apparent what's going on without me going all the way to an EC2 instance to dig in the logs.
Sometimes e-book goes missing from the website. The download link is still there, but instead of a zip archive we find there an HTML page saying that the book has been removed. The bot doesn't handle this situation explicitly and instead treats the downloaded page as a ZIP archive and fails, which looks like a generic runtime error to the user.
I should handle this situation explicitly with a clear message, so it's apparent what's going on without me going all the way to an EC2 instance to dig in the logs.