mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-01 23:47:54 +00:00
nit: continue on db lookup failure
This commit is contained in:
parent
a5f8864058
commit
b3712250b8
@ -159,7 +159,7 @@ class Command:
|
||||
handler_class = self.DB_HANDLERS.get(database)
|
||||
if handler_class is None:
|
||||
print(f"No handler found for database '{database}'")
|
||||
return
|
||||
continue
|
||||
handler_instance = handler_class() # Instantiate the class
|
||||
# If the DB can handle this cmd dispatch it.
|
||||
if hasattr(handler_instance, cmd) and callable(
|
||||
|
Loading…
Reference in New Issue
Block a user