Skip to content

Commit

Permalink
changed log message
Browse files Browse the repository at this point in the history
  • Loading branch information
sourabh1007 committed Jun 2, 2023
1 parent 88183fb commit e52d56c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Microsoft.Azure.Cosmos.Samples/Usage/OpenTelemetry/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ public static async Task RunCrudDemo(Container container)
{
await container.ReadItemAsync<Item>($"random key", new PartitionKey($"random partition"));
}
catch(Exception ex)
catch(Exception)
{
Console.WriteLine($"Exception: {ex}");
Console.WriteLine("Generate exception by reading an invalid key");
}

for (int i = 1; i <= 5; i++)
Expand Down

0 comments on commit e52d56c

Please sign in to comment.