Skip to content

Commit

Permalink
Avoid code scanning alert
Browse files Browse the repository at this point in the history
  • Loading branch information
simonkurtz-MSFT committed Jan 8, 2025
1 parent 21dc5bd commit 5e70d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mock-server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def completions(deployment_name):
elif response_status_code == 503:
response = make_response({'error': {'code': '503', 'message': 'The engine is currently overloaded, please try again later'}})
else:
response = make_response({'error': {'code': response_status_code, 'message': 'Unknown error'}})
response = make_response({'error': {'code': 'N/A', 'message': 'Unknown error'}})
response.status_code = response_status_code
response.headers["x-ms-region"] = hostname
return response
Expand Down

0 comments on commit 5e70d14

Please sign in to comment.