Azure / azure-storage-cpplite

Lite version of C++ Client Library for Microsoft Azure Storage
MIT License
25 stars 44 forks source link

Update storage version to use x-ms-error-code in logs #30

Open damienpontifex opened 5 years ago

damienpontifex commented 5 years ago

I noticed that storage version 2017-07-29 has "All error responses have an additional response header x-ms-error-code that contains the error code string"

This could be a useful debugging addition to log messages where the client relies heavily on errno

katmsft commented 5 years ago

Actually if you call those APIs that is not in 'blob_client_wrapper', which are exception based APIs, it would contain more information.

However, I think it is generally a very good idea to bump up the version for such information. I'll put it in the backlog to see if we could prioritize it.