BlobClient downloadToFile hangs forever if blob doesn't exist
ataquedosesquilos opened this issue · comments
Which service(blob, file, queue, table) does this issue concern?
Blob
Which version of the SDK was used?
Please note that if your issue is with v11, we are recommending customers either move back to v11 or move to v12 (currently in preview) if at all possible. Hopefully this resolves your issue, but if there is some reason why moving away from v11 is not possible at this time, please do continue to ask your question and we will do our best to support you. The README for this SDK has been updated to point to more information on why we have made this decision.
12.20.2
What problem was encountered?
When trying to download a blob that doesn't exist using the method downToFile from BlobClient the thread hands in forever instead of throwing an exception or downloading an empty file
Have you found a mitigation/solution?
Yes, calling exists before doing the download