When executing blob_client::create_container on an instance constructed with an ill-formatted blob endpoint, the response fails with an empty error message. For example:
Note that the error code is non-deterministic and I assume to be reading from uninitialized memory. Anyway, the non-obvious issue is that my blob end point is ill-formatted because it includes a https:// prefix. Removing that prefix works as expected. I assume the behavior would be identical with any sort of invalid blob endpoint string. The expected behavior is that the response.error().message would contain some sort of description indicating that the endpoint couldn't be reached, doesn't exist, etc.
When executing
blob_client::create_container
on an instance constructed with an ill-formatted blob endpoint, the response fails with an empty error message. For example:The above prints:
Note that the error code is non-deterministic and I assume to be reading from uninitialized memory. Anyway, the non-obvious issue is that my blob end point is ill-formatted because it includes a
https://
prefix. Removing that prefix works as expected. I assume the behavior would be identical with any sort of invalid blob endpoint string. The expected behavior is that theresponse.error().message
would contain some sort of description indicating that the endpoint couldn't be reached, doesn't exist, etc.