Skip to content

Commit 32dd3f4

Browse files
committed
[servicelinkerpasswordless] fix logging issue
1 parent 69386ce commit 32dd3f4

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/serviceconnector-passwordless/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
33
Release History
44
===============
5+
3.3.6
6+
++++++
7+
* Some improvements.
8+
59
3.3.5
610
++++++
711
* Update dependencies.

src/serviceconnector-passwordless/azext_serviceconnector_passwordless/_credential_free.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ def create_aad_user(self):
513513
logger.warning("Connecting to database...")
514514
self.create_aad_user_in_sql(connection_args, query_list)
515515
except AzureConnectionError as e:
516+
logger.warning(e)
516517
from azure.cli.core.util import in_cloud_console
517518
if in_cloud_console():
518519
self.set_target_firewall(
@@ -526,7 +527,6 @@ def create_aad_user(self):
526527
error_code = error_res.group(1)
527528
telemetry.set_exception(e, "Connect-Db-Fail-" + error_code)
528529
raise e
529-
logger.warning(e)
530530
# allow local access
531531
ip_address = self.ip
532532
self.set_target_firewall(True, ip_name, ip_address, ip_address)

src/serviceconnector-passwordless/azext_serviceconnector_passwordless/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# --------------------------------------------------------------------------------------------
55

66

7-
VERSION = '3.3.5'
7+
VERSION = '3.3.6'
88
NAME = 'serviceconnector-passwordless'

src/serviceconnector-passwordless/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
logger.warn("Wheel is not available, disabling bdist_wheel hook")
1616

1717

18-
VERSION = '3.3.5'
18+
VERSION = '3.3.6'
1919

2020
# The full list of classifiers is available at
2121
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)