Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update variable name

davidmezzettibb2c701012a0
diff --git a/src/python/txtai/database/base.py b/src/python/txtai/database/base.py
index c8540c38..89dec78b 100644
--- a/src/python/txtai/database/base.py
+++ b/src/python/txtai/database/base.py
@@ -319,8 +319,8 @@ class Database:
logger.debug(" ".join(["%s"] * len(args)), *args)
return function(*args)
- except Exception as ex:
- raise SQLError(ex) from None
+ except Exception as e:
+ raise SQLError(e) from None
def setting(self, name, default=None):
"""