We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When a CosmosException is generated, the statistics information is missing from the Message.
To Reproducestring invalidSessionToken = "0:-1#20";
try { ItemResponse<ToDoActivity> readResponse = await this.Container.ReadItemAsync<ToDoActivity>(temp.id, new Cosmos.PartitionKey(temp.status), new ItemRequestOptions() { SessionToken = invalidSessionToken }); Assert.Fail("Should had thrown ReadSessionNotAvailable"); } catch (CosmosException cosmosException) { Assert.IsTrue(cosmosException.Message.Contains("RequestStartTime:")); }
Expected behavior The Message needs to contain the statistics, and not the text "Microsoft.Azure.Cosmos.CosmosClientSideRequestStatistics"
Environment summary SDK Version: 3.2.0 OS Version (e.g. Windows, Linux, MacOSX) Any
The text was updated successfully, but these errors were encountered:
ealsur
Successfully merging a pull request may close this issue.
Describe the bug
When a CosmosException is generated, the statistics information is missing from the Message.
To Reproducestring invalidSessionToken = "0:-1#20";
Expected behavior
The Message needs to contain the statistics, and not the text "Microsoft.Azure.Cosmos.CosmosClientSideRequestStatistics"
Environment summary
SDK Version: 3.2.0
OS Version (e.g. Windows, Linux, MacOSX) Any
The text was updated successfully, but these errors were encountered: