Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Show an unexpected error when trying uploading a page blob not in a multiple of 512 bytes #1050
Storage Explorer Version: 1.6.2
Steps to Reproduce:
Not sure what’s happening with the error message, but this is just one example of a more general case I’ve noticed. They’re not getting “swallowed”. They’re just getting aggregated in an object somewhere. We’ll want to revisit error passing at some point and clean up a few things.
Drilled down into the storage client library and found out they're explicitely throwing an error in a callback instead of passing the error to our callback. Since callbacks are asynchronous, the original try/catch context is lost, and therefore there's no way for us to properly catch and handle it.
@XiaoningLiu, can we get this fixed?