Do not invent HttpStatus codes when one was not recieved
johnterickson opened this issue · comments
John Erickson commented
This section of code has bitten us multiple times. If a HttpStatus code is not received over the wire, then the SDK should not pretend one was.
When it fabricates a status code it makes debugging very difficult.
azure-storage-net/Lib/Common/StorageException.cs
Lines 305 to 325 in bbb7da6