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 b7fd7e0 commit 4002f47Copy full SHA for 4002f47
mssql_python/pybind/ddbc_bindings.cpp
@@ -2143,7 +2143,8 @@ PYBIND11_MODULE(ddbc_bindings, m) {
2143
2144
try {
2145
// Try loading the ODBC driver when the module is imported
2146
- LoadDriverOrThrowException();
+ LOG("Loading ODBC driver");
2147
+ DriverLoader::getInstance().loadDriver(); // Load the driver
2148
} catch (const std::exception& e) {
2149
// Log the error but don't throw - let the error happen when functions are called
2150
LOG("Failed to load ODBC driver during module initialization: {}", e.what());
0 commit comments