-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
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
[Communication]: Added exception to begin_update_phone_number_capabilities #18025
[Communication]: Added exception to begin_update_phone_number_capabilities #18025
Conversation
/azp run python - communication - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
phone_number, | ||
calling=calling, | ||
sms=sms, | ||
**kwargs | ||
) | ||
|
||
result_properties = poller.result().additional_properties | ||
if 'status' in result_properties and result_properties['status'] == 'failed': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this check case sensitive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this check is case sensitive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed this offline. The status value isn't always lower case, so this check should handle that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this!
/azp run python - communication - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
This is to address the case when the service returns a response with the status code 200 and an error in the body.