From e1cf228944c95aff0125cd2486f4f32d284e43a4 Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Fri, 12 Jul 2024 15:47:09 -0700 Subject: [PATCH 1/2] update script (#635) --- pull_core_into_upstream.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pull_core_into_upstream.sh b/pull_core_into_upstream.sh index 10c35d577..8d9493bc9 100755 --- a/pull_core_into_upstream.sh +++ b/pull_core_into_upstream.sh @@ -12,16 +12,13 @@ SUBMODULE_BRANCH="vocodehq-public" USER=$(gh api user | jq -r '.login') DATE=$(date +%Y%m%d%H%M%S) -FEATURE_BRANCH="${USER}/update-${SUBMODULE_BRANCH}-${DATE}" PR_TITLE="Update ${SUBMODULE_BRANCH}" PR_BODY="This PR updates the ${SUBMODULE_BRANCH} branch by merging changes from the main branch." echo "Creating a new branch ${FEATURE_BRANCH}" +git checkout ${SUBMODULE_BRANCH} +git pull origin ${SUBMODULE_BRANCH} git checkout main git pull origin main -git pull origin ${SUBMODULE_BRANCH} -git checkout ${SUBMODULE_BRANCH} -git checkout -b ${FEATURE_BRANCH} -git merge main gh pr create -t "${PR_TITLE}" -b "${PR_BODY}" -B ${SUBMODULE_BRANCH} From 77d6593e218c465b0fcac70db737fc32cc7832af Mon Sep 17 00:00:00 2001 From: Ajay Raj Date: Mon, 15 Jul 2024 08:45:54 -0700 Subject: [PATCH 2/2] convert logger.error to logger.warning (#636) --- vocode/streaming/telephony/client/twilio_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vocode/streaming/telephony/client/twilio_client.py b/vocode/streaming/telephony/client/twilio_client.py index 97e8a9f7d..5c8ad9819 100644 --- a/vocode/streaming/telephony/client/twilio_client.py +++ b/vocode/streaming/telephony/client/twilio_client.py @@ -63,7 +63,7 @@ async def create_call( ) as response: if not response.ok: if response.status == 400: - logger.error( + logger.warning( f"Failed to create call: {response.status} {response.reason} {await response.json()}" ) raise TwilioBadRequestException(