Closed bzm10 closed 3 months ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
/gcbrun
Thanks for the PR @bzm10 ! It looks like you need to sign the CLA before we can merge it. The code looks good. I don't think it needs any changes, and I am ready to approve once agreement is in place.
This PR improves the error handling for zip file operations in the code. Specifically, it addresses issues related to:
BadZipFile
errors, which occur when the downloaded file is corrupted or not a valid .zip file.FileNotFoundError
for handling cases where the expected file is missing.RuntimeError
for catching any unexpected errors during file operations.Each exception now includes a message that directs users to report the issue at https://www.github.com/kaggle/kaggle-api.
This enhancement ensures better error reporting and guides users on how to proceed when encountering problems.
Linked Issue: #619