We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8f324 commit cf1acb3Copy full SHA for cf1acb3
src/api/common/database/sqldb_service.py
@@ -44,7 +44,7 @@ async def get_db_connection():
44
return conn
45
except pyodbc.Error:
46
continue
47
-
+
48
if conn is None:
49
raise RuntimeError("Unable to connect using ODBC Driver 18 or 17 with Azure Credential")
50
except Exception as e:
@@ -59,7 +59,7 @@ async def get_db_connection():
59
60
61
62
63
raise RuntimeError("Unable to connect using ODBC Driver 18 or 17. Install driver msodbcsql17/18.")
64
finally:
65
if credential and hasattr(credential, "close"):
0 commit comments