Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix exception printing in README.md
  • Loading branch information
dargilco committed Jun 7, 2024
commit ff9c4c618be16e2bdf1fd2ca73442264cb6321fe
2 changes: 1 addition & 1 deletion sdk/ai/azure-ai-inference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ try:
result = client.complete( ... )
except HttpResponseError as e:
print(f"Status code: {e.status_code} ({e.reason})")
print(f"{e.message}")
print(e.message)
```

For example, when you provide a wrong authentication key:
Expand Down